Mercurial > notdcc
comparison debian/rules @ 2:f6716cb00029
Replace buggy stuff in deb dir, never make phone calls while working
author | Peter Gervai <grin@grin.hu> |
---|---|
date | Tue, 10 Mar 2009 14:29:12 +0100 |
parents | |
children | b689077d4918 |
comparison
equal
deleted
inserted
replaced
1:9b8d79ac0dc3 | 2:f6716cb00029 |
---|---|
1 #!/usr/bin/make -f | |
2 # Copyright Dan Weber <dan@mirrorlynx.com> GPL 2004 | |
3 # modified by Martin Zobel-Helas <mhelas@helas.net> 2004 | |
4 | |
5 include /usr/share/cdbs/1/rules/simple-patchsys.mk | |
6 include /usr/share/cdbs/1/rules/debhelper.mk | |
7 include /usr/share/cdbs/1/class/autotools.mk | |
8 | |
9 export DH_VERBOSE=1 | |
10 | |
11 clean:: | |
12 find . -iname \*.in | sed -e "s/\.in$$//" | xargs rm -f | |
13 | |
14 DEB_CONFIGURE_NORMAL_ARGS := --libexecdir=/usr/lib/dcc | |
15 | |
16 DEB_CONFIGURE_EXTRA_FLAGS := --mandir=/usr/share/man \ | |
17 --with-rundir=/var/run/dcc \ | |
18 --homedir=/var/lib/dcc \ | |
19 --with-uid=dcc | |
20 | |
21 DEB_MAKE_CLEAN_TARGET := clean | |
22 | |
23 DEB_MAKE_INSTALL_TARGET := | |
24 | |
25 binary-post-install/dcc-client:: | |
26 rm -rf debian/dcc-client/usr/share/doc/dcc-client/ | |
27 dh_link -pdcc-client usr/share/doc/dcc-common usr/share/doc/dcc-client | |
28 | |
29 binary-post-install/dcc-server:: | |
30 rm -rf debian/dcc-server/usr/share/doc/dcc-server/ | |
31 dh_link -pdcc-server usr/share/doc/dcc-common usr/share/doc/dcc-server | |
32 | |
33 binary-post-install/dcc-milter:: | |
34 mv debian/dcc-milter/usr/bin/dccm debian/dcc-milter/usr/bin/dcc-milter | |
35 mv debian/dcc-milter/usr/share/man/man8/dccm.8 debian/dcc-milter/usr/share/man/man8/dcc-milter.8 | |
36 rm -rf debian/dcc-milter/usr/share/doc/dcc-milter/ | |
37 dh_link -pdcc-milter usr/share/doc/dcc-common usr/share/doc/dcc-milter |