root/alternc-mailman/tags/1.4.10/debian/rules

Revision 1246, 1.7 kB (checked in by benjamin, 3 years ago)

now using po-debconf and corrections on lintian override

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 # This has to be exported to make some magic below work.
7 export DH_OPTIONS
8
9 build: build-stamp
10 build-stamp:
11         dh_testdir
12         make -C src
13         touch build-stamp
14
15 clean:
16         dh_testdir
17         dh_testroot
18         rm -f build-stamp
19         make -C src clean
20         dh_clean
21
22 install: build
23         dh_testdir
24         dh_testroot
25         dh_clean -k
26         dh_installdirs
27         cp -r bureau debian/alternc-mailman/var/alternc/
28         chown root:www-data -R debian/alternc-mailman/var/alternc
29         chmod -R 0640 debian/alternc-mailman/var/alternc
30         chmod -R a+X debian/alternc-mailman/var/alternc
31         install -m 0644 mm_cfg.py \
32                 debian/alternc-mailman/etc/alternc/templates/mailman/
33         # Install the binaries : -rwxr-sr-x
34         install -m 02755 -o root -g list \
35                 src/mailman.create src/mailman.delete src/mailman.list \
36                 debian/alternc-mailman/usr/lib/alternc/
37         install -m 0644 mailman.sql \
38                 debian/alternc-mailman/usr/share/alternc/install/
39         # Install lintian overrides
40         install -m 0644 debian/lintian-override \
41             debian/alternc-mailman/usr/share/lintian/overrides/alternc-mailman
42         # remove CVS / SVN entries :
43         find debian/alternc-mailman/ -depth \( -name CVS -o -name .svn \) -type d -exec rm -rf {} \;
44 binary-common: build install
45         dh_testdir
46         dh_testroot
47         dh_installchangelogs
48         dh_installdocs
49         dh_strip
50         dh_installdebconf
51         dh_link
52         dh_compress
53         dh_fixperms --exclude mailman.delete \
54                 --exclude mailman.create --exclude mailman.list
55         dh_installdeb
56         dh_perl
57         dh_gencontrol -- -cdebian/control
58         dh_md5sums
59         dh_builddeb
60
61 binary-indep: build install binary-common
62
63 binary-arch: build install binary-common
64
65 binary: binary-common
66
67 .PHONY: build clean binary binary-common binary-arch binary-indep install
Note: See TracBrowser for help on using the browser.