| Revision 1241,
1.5 KB
checked in by lunar, 7 years ago
(diff) |
r92@sud: lunar | 2006-03-11 15:46:43 +0100
Really use debhelper version 4 (fixes a few lintian warnings and errors).
|
-
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 | # Remove any remaining CVS dir ;) |
|---|
| 40 | find debian/alternc-mailman/ -depth -name "CVS" -exec rm -rf {} \; |
|---|
| 41 | |
|---|
| 42 | binary-common: build install |
|---|
| 43 | dh_testdir |
|---|
| 44 | dh_testroot |
|---|
| 45 | dh_installchangelogs |
|---|
| 46 | dh_installdocs |
|---|
| 47 | dh_strip |
|---|
| 48 | dh_link |
|---|
| 49 | dh_compress |
|---|
| 50 | dh_fixperms --exclude mailman.delete \ |
|---|
| 51 | --exclude mailman.create --exclude mailman.list |
|---|
| 52 | dh_installdeb |
|---|
| 53 | dh_perl |
|---|
| 54 | dh_gencontrol -- -cdebian/control |
|---|
| 55 | dh_md5sums |
|---|
| 56 | dh_builddeb |
|---|
| 57 | |
|---|
| 58 | binary-indep: build install binary-common |
|---|
| 59 | |
|---|
| 60 | binary-arch: build install binary-common |
|---|
| 61 | |
|---|
| 62 | binary: binary-common |
|---|
| 63 | |
|---|
| 64 | .PHONY: build clean binary binary-common binary-arch binary-indep install |
|---|
Note: See
TracBrowser
for help on using the repository browser.