X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=Makefile.am;h=15b2d098f060393b45f1f1bfbeffe6442ed0ce51;hb=d297eac0723155e9227431dc807837058b51a7a3;hp=275bca1dae55eebb7b499657a8165d2c579db6ef;hpb=af9eafe584f98986a20bc33c8535a044bbdbb12b;p=ppp.git diff --git a/Makefile.am b/Makefile.am index 275bca1..15b2d09 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \