annotate Makefile.am @ 433:81c438e1891b

Marks version number as development.
author markus schnalke <meillo@marmaro.de>
date Sat, 07 Feb 2015 11:40:21 +0100
parents a19e47ebbb33
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
226
7b70bf4f1f42 renamed misc/ to devel/
meillo@marmaro.de
parents: 192
diff changeset
1 EXTRA_DIST = examples docs man tpl devel
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
2
57
ed34413652fc moved man pages from docs/ to man/
meillo@marmaro.de
parents: 55
diff changeset
3 SUBDIRS = src man
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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
92673a185add added rmail script from postfix
meillo@marmaro.de
parents: 62
diff changeset
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
bdef5f279fde refactoring in Makefile.am
meillo@marmaro.de
parents: 58
diff changeset
8
147
cb42157b3520 improved the Makefile (check diff for details)
meillo@marmaro.de
parents: 146
diff changeset
9 conf_dir:
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
10 install -d $(DESTDIR)@with_confdir@
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
11
147
cb42157b3520 improved the Makefile (check diff for details)
meillo@marmaro.de
parents: 146
diff changeset
12 tpl_dir:
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
13 install -d $(DESTDIR)@datadir@/masqmail/tpl
61
bdef5f279fde refactoring in Makefile.am
meillo@marmaro.de
parents: 58
diff changeset
14 cp tpl/* $(DESTDIR)@datadir@/masqmail/tpl
bdef5f279fde refactoring in Makefile.am
meillo@marmaro.de
parents: 58
diff changeset
15 chmod 644 $(DESTDIR)@datadir@/masqmail/tpl/*
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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
bdef5f279fde refactoring in Makefile.am
meillo@marmaro.de
parents: 58
diff changeset
20 doc_dir:
58
6ab62592cac4 install docs and examples too
meillo@marmaro.de
parents: 57
diff changeset
21 install -d $(DESTDIR)@docdir@
6ab62592cac4 install docs and examples too
meillo@marmaro.de
parents: 57
diff changeset
22 cp -r docs $(DESTDIR)@docdir@
6ab62592cac4 install docs and examples too
meillo@marmaro.de
parents: 57
diff changeset
23 cp -r examples $(DESTDIR)@docdir@
229
d364fea755b4 install the files INSTALL and THANKS too
meillo@marmaro.de
parents: 227
diff changeset
24 cp ChangeLog NEWS AUTHORS COPYING README TODO INSTALL THANKS $(DESTDIR)@docdir@
58
6ab62592cac4 install docs and examples too
meillo@marmaro.de
parents: 57
diff changeset
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
d364fea755b4 install the files INSTALL and THANKS too
meillo@marmaro.de
parents: 227
diff changeset
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
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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
cab46cefa4ce renamed contrib/ to admin/
meillo@marmaro.de
parents: 226
diff changeset
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