Mercurial > masqmail
annotate Makefile.am @ 434:f2a7271746d1 default tip
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 | a19e47ebbb33 |
children |
rev | line source |
---|---|
226 | 1 EXTRA_DIST = examples docs man tpl devel |
0 | 2 |
57 | 3 SUBDIRS = src man |
0 | 4 |
425
a19e47ebbb33
Create the spool and log dirs on program startup if missing.
markus schnalke <meillo@marmaro.de>
parents:
422
diff
changeset
|
5 install-data-local: uid_bit tpl_dir doc_dir rmail conf_dir |
86 | 6 |
425
a19e47ebbb33
Create the spool and log dirs on program startup if missing.
markus schnalke <meillo@marmaro.de>
parents:
422
diff
changeset
|
7 uninstall-local: rm-rmail rm-doc_dir rm-tpl_dir rm-dirs |
61 | 8 |
147
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
9 conf_dir: |
0 | 10 install -d $(DESTDIR)@with_confdir@ |
11 | |
147
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
12 tpl_dir: |
0 | 13 install -d $(DESTDIR)@datadir@/masqmail/tpl |
61 | 14 cp tpl/* $(DESTDIR)@datadir@/masqmail/tpl |
15 chmod 644 $(DESTDIR)@datadir@/masqmail/tpl/* | |
0 | 16 |
147
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
17 rm-tpl_dir: |
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
18 rm -rf $(DESTDIR)@datadir@/masqmail/ |
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
19 |
61 | 20 doc_dir: |
58 | 21 install -d $(DESTDIR)@docdir@ |
22 cp -r docs $(DESTDIR)@docdir@ | |
23 cp -r examples $(DESTDIR)@docdir@ | |
229 | 24 cp ChangeLog NEWS AUTHORS COPYING README TODO INSTALL THANKS $(DESTDIR)@docdir@ |
58 | 25 |
147
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
26 rm-doc_dir: |
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
27 cd $(DESTDIR)@docdir@ && ( \ |
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
28 rm -rf docs examples ; \ |
229 | 29 rm -f ChangeLog NEWS AUTHORS COPYING README TODO INSTALL THANKS ; \ |
147
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
30 ) |
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
31 rmdir $(DESTDIR)@docdir@ |
0 | 32 |
425
a19e47ebbb33
Create the spool and log dirs on program startup if missing.
markus schnalke <meillo@marmaro.de>
parents:
422
diff
changeset
|
33 rm-dirs: |
a19e47ebbb33
Create the spool and log dirs on program startup if missing.
markus schnalke <meillo@marmaro.de>
parents:
422
diff
changeset
|
34 : # removes only if empty |
a19e47ebbb33
Create the spool and log dirs on program startup if missing.
markus schnalke <meillo@marmaro.de>
parents:
422
diff
changeset
|
35 rmdir $(DESTDIR)@with_confdir@ |
a19e47ebbb33
Create the spool and log dirs on program startup if missing.
markus schnalke <meillo@marmaro.de>
parents:
422
diff
changeset
|
36 rmdir $(DESTDIR)@with_logdir@ |
145
e68d8752735a
remove all installed dirs on `make uninstall'
meillo@marmaro.de
parents:
125
diff
changeset
|
37 rmdir $(DESTDIR)@with_spooldir@ |
91
3e7136221104
correct masqmail path in rmail script; remove docs on uninstall
meillo@marmaro.de
parents:
86
diff
changeset
|
38 |
3e7136221104
correct masqmail path in rmail script; remove docs on uninstall
meillo@marmaro.de
parents:
86
diff
changeset
|
39 rmail: |
148
1db6e1b91ead
moved rmail from bin (man1) to sbin (man8)
meillo@marmaro.de
parents:
147
diff
changeset
|
40 [ -d "$(DESTDIR)@prefix@/sbin" ] || mkdir -p "$(DESTDIR)@prefix@/sbin" |
91
3e7136221104
correct masqmail path in rmail script; remove docs on uninstall
meillo@marmaro.de
parents:
86
diff
changeset
|
41 sed '/^SENDMAIL/s,/usr/sbin/sendmail,$(DESTDIR)@prefix@/sbin/masqmail,'\ |
227 | 42 admin/rmail >$(DESTDIR)@prefix@/sbin/rmail |
148
1db6e1b91ead
moved rmail from bin (man1) to sbin (man8)
meillo@marmaro.de
parents:
147
diff
changeset
|
43 chmod 755 $(DESTDIR)@prefix@/sbin/rmail |
91
3e7136221104
correct masqmail path in rmail script; remove docs on uninstall
meillo@marmaro.de
parents:
86
diff
changeset
|
44 |
3e7136221104
correct masqmail path in rmail script; remove docs on uninstall
meillo@marmaro.de
parents:
86
diff
changeset
|
45 rm-rmail: |
148
1db6e1b91ead
moved rmail from bin (man1) to sbin (man8)
meillo@marmaro.de
parents:
147
diff
changeset
|
46 rm -f $(DESTDIR)@prefix@/sbin/rmail |
91
3e7136221104
correct masqmail path in rmail script; remove docs on uninstall
meillo@marmaro.de
parents:
86
diff
changeset
|
47 |
3e7136221104
correct masqmail path in rmail script; remove docs on uninstall
meillo@marmaro.de
parents:
86
diff
changeset
|
48 |
419
d209b4846f2b
The pid files goes to /var/run/masqmail.pid now. Added --with-piddir.
markus schnalke <meillo@marmaro.de>
parents:
229
diff
changeset
|
49 uid_bit: |
147
cb42157b3520
improved the Makefile (check diff for details)
meillo@marmaro.de
parents:
146
diff
changeset
|
50 chmod u+s $(DESTDIR)@prefix@/sbin/masqmail |