X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=Makefile.am;h=15b2d098f060393b45f1f1bfbeffe6442ed0ce51;hb=74a76e8e658d89f1b0a61af8cb903d412852f882;hp=508c92b3ba561e5b3b1c4c18b16b470ff26205cd;hpb=2883dd07101bf851e2ea368f0c04c91aea85cff2;p=ppp.git diff --git a/Makefile.am b/Makefile.am index 508c92b..15b2d09 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \