Mercurial > notdcc
annotate debian/rules.diff @ 1:9b8d79ac0dc3
blindly adding debian patch for old version
author | Peter Gervai <grin@grin.hu> |
---|---|
date | Tue, 10 Mar 2009 14:25:08 +0100 |
parents | |
children |
rev | line source |
---|---|
1
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
1 --- dcc-1.2.74.orig/debian/rules |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
2 +++ dcc-1.2.74/debian/rules |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
3 @@ -0,0 +1,37 @@ |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
4 +#!/usr/bin/make -f |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
5 +# Copyright Dan Weber <dan@mirrorlynx.com> GPL 2004 |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
6 +# modified by Martin Zobel-Helas <mhelas@helas.net> 2004 |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
7 + |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
8 +include /usr/share/cdbs/1/rules/simple-patchsys.mk |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
9 +include /usr/share/cdbs/1/rules/debhelper.mk |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
10 +include /usr/share/cdbs/1/class/autotools.mk |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
11 + |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
12 +export DH_VERBOSE=1 |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
13 + |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
14 +clean:: |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
15 + find . -iname \*.in | sed -e "s/\.in$$//" | xargs rm -f |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
16 + |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
17 +DEB_CONFIGURE_NORMAL_ARGS := --libexecdir=/usr/lib/dcc |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
18 + |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
19 +DEB_CONFIGURE_EXTRA_FLAGS := --mandir=/usr/share/man \ |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
20 + --with-rundir=/var/run/dcc \ |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
21 + --homedir=/var/lib/dcc \ |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
22 + --with-uid=dcc |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
23 + |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
24 +DEB_MAKE_CLEAN_TARGET := clean |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
25 + |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
26 +DEB_MAKE_INSTALL_TARGET := |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
27 + |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
28 +binary-post-install/dcc-client:: |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
29 + rm -rf debian/dcc-client/usr/share/doc/dcc-client/ |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
30 + dh_link -pdcc-client usr/share/doc/dcc-common usr/share/doc/dcc-client |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
31 + |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
32 +binary-post-install/dcc-server:: |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
33 + rm -rf debian/dcc-server/usr/share/doc/dcc-server/ |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
34 + dh_link -pdcc-server usr/share/doc/dcc-common usr/share/doc/dcc-server |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
35 + |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
36 +binary-post-install/dcc-milter:: |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
37 + mv debian/dcc-milter/usr/bin/dccm debian/dcc-milter/usr/bin/dcc-milter |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
38 + mv debian/dcc-milter/usr/share/man/man8/dccm.8 debian/dcc-milter/usr/share/man/man8/dcc-milter.8 |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
39 + rm -rf debian/dcc-milter/usr/share/doc/dcc-milter/ |
9b8d79ac0dc3
blindly adding debian patch for old version
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
40 + dh_link -pdcc-milter usr/share/doc/dcc-common usr/share/doc/dcc-milter |