SUBDIRS = chat contrib pppd pppstats pppdump
-if WITH_PLUGINS
+if PPP_WITH_PLUGINS
SUBDIRS += pppd/plugins
endif
# 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 \