2 # $Id: Makefile.am,v 1.1 2002/01/22 16:03:01 dfs Exp $
4 # Copyright (C) 1997,1998 Lars Fenneberg
6 # See the file COPYRIGHT for the respective terms and conditions.
7 # If the file is missing contact me at lf@elemental.net
8 # and I'll send you a copy.
11 AUTOMAKE_OPTIONS = foreign
13 CLEANFILES = *~ radiusclient.conf
16 pkgsysconfdir = @pkgsysconfdir@
17 pkgsysconf_DATA = issue port-id-map radiusclient.conf \
18 dictionary dictionary.ascend dictionary.compat dictionary.merit
20 EXTRA_DIST = issue port-id-map dictionary dictionary.ascend \
21 dictionary.compat dictionary.merit servers radiusclient.conf.in
23 radiusclient.conf: radiusclient.conf.in
24 sed -e 's|@sbin''dir@|$(sbindir)|g' \
25 -e 's|@pkgsysconf''dir@|$(pkgsysconfdir)|g' \
26 <$(srcdir)/radiusclient.conf.in >radiusclient.conf
28 install-data-local: servers
29 $(mkinstalldirs) $(pkgsysconfdir); \
30 echo " $(INSTALL) -m600 $(srcdir)/servers $(pkgsysconfdir)/servers"; \
31 $(INSTALL) -m600 $(srcdir)/servers $(pkgsysconfdir)/servers
34 rm -f $(pkgsysconfdir)/servers