2 # $Id: Makefile.am,v 1.2 2002/04/02 13:17:13 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 \
21 EXTRA_DIST = issue port-id-map dictionary dictionary.ascend \
22 dictionary.compat dictionary.merit dictionary.microsoft \
23 servers radiusclient.conf.in
25 radiusclient.conf: radiusclient.conf.in
26 sed -e 's|@sbin''dir@|$(sbindir)|g' \
27 -e 's|@pkgsysconf''dir@|$(pkgsysconfdir)|g' \
28 <$(srcdir)/radiusclient.conf.in >radiusclient.conf
30 install-data-local: servers
31 $(mkinstalldirs) $(pkgsysconfdir); \
32 echo " $(INSTALL) -m600 $(srcdir)/servers $(pkgsysconfdir)/servers"; \
33 $(INSTALL) -m600 $(srcdir)/servers $(pkgsysconfdir)/servers
36 rm -f $(pkgsysconfdir)/servers