In case no index file is installed, "make install" will create an

example file at the correct location so that the admininstrator
hopefully figures out that there is some work to be done.
This commit is contained in:
Peter Simons 2001-01-19 16:19:59 +00:00
parent c9033a31a7
commit 73ed1ee547
2 changed files with 5 additions and 1 deletions

View File

@ -75,7 +75,8 @@ install: petidomo
$(SHTOOL) install -c -m 755 petidomo-kickout $(bindir)
$(SHTOOL) install -c -m 644 config/petidomo.conf $(sysconfdir)/petidomo.conf-sample
$(SHTOOL) install -c -m 644 config/petidomo.acl $(sysconfdir)/petidomo.acl-sample
$(SHTOOL) install -c -m 444 config/help $(datadir)/help
$(SHTOOL) install -c -m 444 config/help $(datadir)
if [ ! -f $(localstatedir)/index ] ; then $(SHTOOL) install -c -m 444 config/index $(localstatedir); fi
$(SHTOOL) install -c -m 555 filter/insert-name-in-subject.sh $(libexecdir)
$(SHTOOL) install -c -m 555 filter/pgp-decrypt.sh $(libexecdir)
$(SHTOOL) install -c -m 555 filter/pgp-encrypt.sh $(libexecdir)

3
config/index Normal file
View File

@ -0,0 +1,3 @@
The admin of this mailing list server has been lazy and did not
customize the contents of the sample index file that came with
Petidomo. Shame on him.