masqmail

view Makefile.am @ 434:f2a7271746d1

Removes Freshmeat.net from the docs The site, which was later renamed to freecode.com, is no longer maintained (contains only a static copy).
author markus schnalke <meillo@marmaro.de>
date Sat, 07 Feb 2015 11:45:07 +0100
parents bdbedce60247
children
line source
1 EXTRA_DIST = examples docs man tpl devel
3 SUBDIRS = src man
5 install-data-local: uid_bit tpl_dir doc_dir rmail conf_dir
7 uninstall-local: rm-rmail rm-doc_dir rm-tpl_dir rm-dirs
9 conf_dir:
10 install -d $(DESTDIR)@with_confdir@
12 tpl_dir:
13 install -d $(DESTDIR)@datadir@/masqmail/tpl
14 cp tpl/* $(DESTDIR)@datadir@/masqmail/tpl
15 chmod 644 $(DESTDIR)@datadir@/masqmail/tpl/*
17 rm-tpl_dir:
18 rm -rf $(DESTDIR)@datadir@/masqmail/
20 doc_dir:
21 install -d $(DESTDIR)@docdir@
22 cp -r docs $(DESTDIR)@docdir@
23 cp -r examples $(DESTDIR)@docdir@
24 cp ChangeLog NEWS AUTHORS COPYING README TODO INSTALL THANKS $(DESTDIR)@docdir@
26 rm-doc_dir:
27 cd $(DESTDIR)@docdir@ && ( \
28 rm -rf docs examples ; \
29 rm -f ChangeLog NEWS AUTHORS COPYING README TODO INSTALL THANKS ; \
30 )
31 rmdir $(DESTDIR)@docdir@
33 rm-dirs:
34 : # removes only if empty
35 rmdir $(DESTDIR)@with_confdir@
36 rmdir $(DESTDIR)@with_logdir@
37 rmdir $(DESTDIR)@with_spooldir@
39 rmail:
40 [ -d "$(DESTDIR)@prefix@/sbin" ] || mkdir -p "$(DESTDIR)@prefix@/sbin"
41 sed '/^SENDMAIL/s,/usr/sbin/sendmail,$(DESTDIR)@prefix@/sbin/masqmail,'\
42 admin/rmail >$(DESTDIR)@prefix@/sbin/rmail
43 chmod 755 $(DESTDIR)@prefix@/sbin/rmail
45 rm-rmail:
46 rm -f $(DESTDIR)@prefix@/sbin/rmail
49 uid_bit:
50 chmod u+s $(DESTDIR)@prefix@/sbin/masqmail