]> git.ozlabs.org Git - ppp.git/blob - pppd/plugins/radius/radiusclient/etc/Makefile.am
8f50d38e5424e857010342e0c7b3ce59e737afe7
[ppp.git] / pppd / plugins / radius / radiusclient / etc / Makefile.am
1 #
2 # $Id: Makefile.am,v 1.3 2002/10/05 04:35:24 fcusack Exp $
3 #
4 # Copyright (C) 1997,1998 Lars Fenneberg
5 #
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.
9 #
10
11 AUTOMAKE_OPTIONS = foreign
12
13 CLEANFILES = *~ radiusclient.conf
14
15 sbindir = @sbindir@
16 pkgsysconfdir = @pkgsysconfdir@
17 pkgsysconf_DATA = issue port-id-map radiusclient.conf \
18         dictionary dictionary.ascend dictionary.compat dictionary.merit \
19         dictionary.microsoft
20
21 EXTRA_DIST = issue port-id-map dictionary dictionary.ascend \
22         dictionary.compat dictionary.merit dictionary.microsoft \
23         realms servers radiusclient.conf.in
24
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
29
30 install-data-local: realms servers
31         $(mkinstalldirs) $(pkgsysconfdir); \
32         echo " $(INSTALL) -m600 $(srcdir)/realms $(pkgsysconfdir)/realms"; \
33         $(INSTALL) -m600 $(srcdir)/realms $(pkgsysconfdir)/realms
34         echo " $(INSTALL) -m600 $(srcdir)/servers $(pkgsysconfdir)/servers"; \
35         $(INSTALL) -m600 $(srcdir)/servers $(pkgsysconfdir)/servers
36
37 uninstall-local:
38         rm -f $(pkgsysconfdir)/realms
39         rm -f $(pkgsysconfdir)/servers