Convert to dh7 tiny rules format.
intrigeri
12 years ago
2 | 2 |
Priority: optional
|
3 | 3 |
Maintainer: metche developers <metche@lists.riseup.net>
|
4 | 4 |
Uploaders: Micah Anderson <micah@riseup.net>, Jérémy Bobbio <lunar@debian.org>
|
5 | |
Build-Depends: debhelper (>= 5), po-debconf
|
|
5 |
Build-Depends: debhelper (>= 7.0.50~), po-debconf
|
6 | 6 |
Standards-Version: 3.9.1
|
7 | 7 |
Homepage: https://labs.riseup.net/code/projects/metche
|
8 | 8 |
Vcs-Browser: https://labs.riseup.net/code/projects/metche/repository
|
3 | 3 |
PACKAGE = metche
|
4 | 4 |
DESTDIR = $(CURDIR)/debian/$(PACKAGE)
|
5 | 5 |
|
6 | |
build: build-stamp
|
7 | |
build-stamp:
|
8 | |
dh_testdir
|
9 | |
touch build-stamp
|
|
6 |
%:
|
|
7 |
dh $@
|
10 | 8 |
|
11 | |
clean:
|
|
9 |
override_dh_clean:
|
12 | 10 |
debconf-updatepo
|
13 | |
dh_testdir
|
14 | |
dh_testroot
|
15 | |
rm -f build-stamp
|
16 | |
dh_clean
|
|
11 |
dh_clean
|
17 | 12 |
|
18 | |
install: build
|
19 | |
dh_testdir
|
20 | |
dh_testroot
|
21 | |
dh_prep
|
22 | |
dh_installdirs
|
|
13 |
override_dh_install:
|
|
14 |
dh_install
|
23 | 15 |
cp $(CURDIR)/metche $(DESTDIR)/usr/sbin
|
24 | 16 |
cp $(CURDIR)/metche.8 $(DESTDIR)/usr/share/man/man8
|
25 | 17 |
chown root:staff $(DESTDIR)/var/lib/metche
|
26 | 18 |
chmod 750 $(DESTDIR)/var/lib/metche
|
27 | 19 |
|
28 | |
# Build architecture-independent files here.
|
29 | |
binary-indep: build install
|
30 | |
dh_testdir
|
31 | |
dh_testroot
|
32 | |
dh_installchangelogs Changelog
|
33 | |
dh_installdocs
|
34 | |
dh_installexamples
|
35 | |
dh_installdebconf
|
36 | |
dh_installcron
|
37 | |
dh_installman
|
38 | |
dh_link
|
39 | |
dh_compress
|
40 | |
dh_fixperms
|
41 | |
dh_installdeb
|
42 | |
dh_gencontrol
|
43 | |
dh_md5sums
|
44 | |
dh_builddeb
|
45 | |
|
46 | |
# Build architecture-dependent files here.
|
47 | |
binary-arch:
|
48 | |
|
49 | |
binary: binary-indep binary-arch
|
50 | |
.PHONY: build clean binary-indep binary-arch binary install
|
|
20 |
override_dh_auto_build override_dh_auto_clean:
|