| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
# Sample debian/rules that uses debhelper. |
| 4 |
# GNU copyright 1997 to 1999 by Joey Hess. |
| 5 |
|
| 6 |
# Uncomment this to turn on verbose mode. |
| 7 |
#export DH_VERBOSE=1 |
| 8 |
|
| 9 |
build: build-stamp |
| 10 |
|
| 11 |
build-stamp: |
| 12 |
dh_testdir |
| 13 |
cp debian/*.xml $(CURDIR) |
| 14 |
$(MAKE) |
| 15 |
touch build-stamp |
| 16 |
|
| 17 |
clean: |
| 18 |
dh_testdir |
| 19 |
rm -f build-stamp |
| 20 |
|
| 21 |
$(MAKE) clean |
| 22 |
|
| 23 |
dh_clean |
| 24 |
|
| 25 |
install: build |
| 26 |
dh_testdir |
| 27 |
dh_prep |
| 28 |
dh_installdirs |
| 29 |
|
| 30 |
$(MAKE) install DESTDIR=$(CURDIR)/debian/impose+/usr |
| 31 |
|
| 32 |
# |
| 33 |
# Just to comply with policy 4.8 |
| 34 |
binary-arch: |
| 35 |
|
| 36 |
# Build architecture-independent files here. |
| 37 |
binary-indep: build install |
| 38 |
dh_testdir |
| 39 |
dh_testroot |
| 40 |
dh_installchangelogs |
| 41 |
dh_installdocs -XCVS -Xxvpics |
| 42 |
dh_installman *.1 |
| 43 |
dh_link |
| 44 |
dh_strip |
| 45 |
dh_compress |
| 46 |
dh_fixperms |
| 47 |
dh_perl |
| 48 |
dh_installdeb |
| 49 |
dh_shlibdeps |
| 50 |
dh_gencontrol |
| 51 |
dh_md5sums |
| 52 |
dh_builddeb |
| 53 |
|
| 54 |
build-arch: build |
| 55 |
build-indep: build |
| 56 |
binary: binary-indep |
| 57 |
.PHONY: build build-arch build-indep clean binary-indep binary install configure |