| 1 |
#!/usr/bin/make -f |
| 2 |
# GNU copyright 1997 to 1999 by Joey Hess. |
| 3 |
|
| 4 |
PACKAGE=$(shell dh_listpackages) |
| 5 |
TMP=$(CURDIR)/debian/$(PACKAGE) |
| 6 |
|
| 7 |
build-arch: build |
| 8 |
build-indep: build |
| 9 |
|
| 10 |
build: build-stamp |
| 11 |
build-stamp: |
| 12 |
dh_testdir |
| 13 |
touch build-stamp |
| 14 |
|
| 15 |
clean: |
| 16 |
dh_testdir |
| 17 |
dh_testroot |
| 18 |
rm -f build-stamp |
| 19 |
dh_clean |
| 20 |
|
| 21 |
install: build |
| 22 |
dh_testdir |
| 23 |
dh_testroot |
| 24 |
dh_prep |
| 25 |
|
| 26 |
$(MAKE) PREFIX=/usr DESTDIR=$(TMP) install |
| 27 |
|
| 28 |
|
| 29 |
# Build architecture-independent files here. |
| 30 |
binary-indep: build install |
| 31 |
dh_testdir |
| 32 |
dh_testroot |
| 33 |
dh_installdocs -n |
| 34 |
dh_installchangelogs ChangeLog |
| 35 |
dh_compress |
| 36 |
dh_fixperms |
| 37 |
dh_installdeb |
| 38 |
dh_perl |
| 39 |
dh_gencontrol |
| 40 |
dh_md5sums |
| 41 |
dh_builddeb |
| 42 |
|
| 43 |
binary-arch: |
| 44 |
|
| 45 |
binary: binary-indep |
| 46 |
.PHONY: build clean binary-indep binary install configure |