ppp/Makefile.am
Paul Mackerras 53e6846dff
Don't overwrite configuration files in <sysconfdir>/ppp (#518)
This renames the configuration files in etc.ppp/ to have ".example"
on the end of their names.  This is so that when they are copied to
<sysconfdir>/ppp (often /etc/ppp), they don't overwrite existing
pppd configuration files, and it is clear that they are just examples.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2024-09-14 13:31:56 +10:00

47 lines
972 B
Makefile

ACLOCAL_AMFLAGS="-Im4"
SUBDIRS = chat contrib pppd pppstats pppdump
if PPP_WITH_PLUGINS
SUBDIRS += pppd/plugins
endif
DIST_SUBDIRS = $(SUBDIRS) include scripts
install-data-hook:
(cd $(DESTDIR)/$(sysconfdir)/$(PACKAGE) ; \
chmod 600 chap-secrets.example pap-secrets.example \
eaptls-server.example eaptls-client.example)
sampledir = $(sysconfdir)/$(PACKAGE)
sample_DATA = \
etc.ppp/options.example \
etc.ppp/chap-secrets.example \
etc.ppp/pap-secrets.example \
etc.ppp/eaptls-server.example \
etc.ppp/eaptls-client.example \
etc.ppp/openssl.cnf.example
EXTRA_README = \
Changes-2.3 \
FAQ \
README \
README.cbcp \
README.eap-srp \
README.eap-tls \
README.linux \
README.MPPE \
README.MSCHAP80 \
README.MSCHAP81 \
README.pppoe \
README.pppol2tp \
README.pwfd \
README.sol2 \
PLUGINS \
SETUP \
Submitting-patches.md
EXTRA_DIST= \
$(sample_DATA) \
$(EXTRA_README)