]> git.ozlabs.org Git - ppp.git/blobdiff - Makefile.am
Fixing up install targets for man pages and file permissions of secrets files
[ppp.git] / Makefile.am
index 275bca1dae55eebb7b499657a8165d2c579db6ef..15b2d098f060393b45f1f1bfbeffe6442ed0ce51 100644 (file)
@@ -22,8 +22,11 @@ install-am:
        (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 \