|
Revision 1320, 2.7 kB
(checked in by benjamin, 4 years ago)
|
Passage de alternc-slavedns en po-debconf pour voir comment ca marche ...
Normalisation debian-policy de ce package.
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
export DH_VERBOSE=1 |
|---|
| 10 |
|
|---|
| 11 |
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) |
|---|
| 12 |
CFLAGS += -g |
|---|
| 13 |
endif |
|---|
| 14 |
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) |
|---|
| 15 |
INSTALL_PROGRAM += -s |
|---|
| 16 |
endif |
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
export DH_OPTIONS |
|---|
| 20 |
|
|---|
| 21 |
build: build-stamp |
|---|
| 22 |
build-stamp: |
|---|
| 23 |
dh_testdir |
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
touch build-stamp |
|---|
| 28 |
|
|---|
| 29 |
clean: |
|---|
| 30 |
dh_testdir |
|---|
| 31 |
dh_testroot |
|---|
| 32 |
rm -f build-stamp |
|---|
| 33 |
debconf-updatepo |
|---|
| 34 |
dh_clean |
|---|
| 35 |
|
|---|
| 36 |
install: DH_OPTIONS= |
|---|
| 37 |
install: build |
|---|
| 38 |
dh_testdir |
|---|
| 39 |
dh_testroot |
|---|
| 40 |
dh_clean -k |
|---|
| 41 |
dh_installdirs |
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
install -o root -g root -m0755 slavedns debian/alternc-slavedns/usr/sbin/ |
|---|
| 50 |
install -o root -g root -m0644 slavedns.conf debian/alternc-slavedns/etc/slavedns/ |
|---|
| 51 |
chown root.root debian/alternc-slavedns/var/cache/slavedns |
|---|
| 52 |
chown root.root debian/alternc-slavedns/etc/bind/slavedns |
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 |
binary-common: build install |
|---|
| 62 |
dh_testdir |
|---|
| 63 |
dh_testroot |
|---|
| 64 |
dh_installchangelogs |
|---|
| 65 |
dh_installdocs |
|---|
| 66 |
|
|---|
| 67 |
|
|---|
| 68 |
dh_installdebconf |
|---|
| 69 |
dh_installlogrotate |
|---|
| 70 |
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 |
|
|---|
| 75 |
dh_installcron |
|---|
| 76 |
|
|---|
| 77 |
|
|---|
| 78 |
dh_strip |
|---|
| 79 |
dh_link |
|---|
| 80 |
dh_compress |
|---|
| 81 |
|
|---|
| 82 |
|
|---|
| 83 |
|
|---|
| 84 |
|
|---|
| 85 |
|
|---|
| 86 |
dh_installdeb |
|---|
| 87 |
dh_perl |
|---|
| 88 |
|
|---|
| 89 |
dh_gencontrol -- -cdebian/control |
|---|
| 90 |
dh_md5sums |
|---|
| 91 |
dh_builddeb |
|---|
| 92 |
|
|---|
| 93 |
|
|---|
| 94 |
binary-indep: build install binary-common |
|---|
| 95 |
|
|---|
| 96 |
|
|---|
| 97 |
|
|---|
| 98 |
|
|---|
| 99 |
binary-arch: build install binary-common |
|---|
| 100 |
|
|---|
| 101 |
|
|---|
| 102 |
|
|---|
| 103 |
|
|---|
| 104 |
|
|---|
| 105 |
|
|---|
| 106 |
|
|---|
| 107 |
|
|---|
| 108 |
|
|---|
| 109 |
binary: binary-common |
|---|
| 110 |
|
|---|
| 111 |
.PHONY: build clean binary install |
|---|