]> git.ozlabs.org Git - ppp.git/blobdiff - Makefile.am
pppd.8: Document netmask option
[ppp.git] / Makefile.am
index 508c92b3ba561e5b3b1c4c18b16b470ff26205cd..d7b376cd45b6e57d132b4a0572cd5bbfcaf6ea1a 100644 (file)
@@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS="-Im4"
 
 SUBDIRS = chat contrib pppd pppstats pppdump
 
-if WITH_PLUGINS
+if PPP_WITH_PLUGINS
 SUBDIRS += pppd/plugins
 endif
 
@@ -13,17 +13,20 @@ DIST_SUBDIRS = $(SUBDIRS) common include modules scripts
 #   This is to work around the kernel module for PPP on Sun Solaris
 if SUNOS
 all-am:
-       (cd solaris ; make -f Makefile)
+       (cd solaris ; $(MAKE) -f Makefile)
 
 clean-generic:
-       (cd solaris ; make -f Makefile clean)
+       (cd solaris ; $(MAKE) -f Makefile clean)
 
 install-am:
-       (cd solaris ; make -f Makefile install)
+       (cd solaris ; $(MAKE) -f Makefile install)
 endif
 
-sampledir = $(sysconfdir)/@PACKAGE@
+install-data-hook:
+       (cd $(DESTDIR)/$(sysconfdir)/$(PACKAGE) ; \
+        chmod 600 chap-secrets pap-secrets eaptls-server eaptls-client)
 
+sampledir = $(sysconfdir)/$(PACKAGE)
 sample_DATA = \
     etc.ppp/options \
     etc.ppp/chap-secrets \