X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=Makefile.am;h=15b2d098f060393b45f1f1bfbeffe6442ed0ce51;hp=275bca1dae55eebb7b499657a8165d2c579db6ef;hb=HEAD;hpb=af9eafe584f98986a20bc33c8535a044bbdbb12b diff --git a/Makefile.am b/Makefile.am index 275bca1..d7b376c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS="-Im4" SUBDIRS = chat contrib pppd pppstats pppdump -if WITH_PLUGINS +if PPP_WITH_PLUGINS SUBDIRS += pppd/plugins endif @@ -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 \