diff options
| author | Mattia Rizzolo <mattia@debian.org> | 2016-09-30 16:46:41 (GMT) |
|---|---|---|
| committer | Mattia Rizzolo <mattia@debian.org> | 2016-09-30 16:50:33 (GMT) |
| commit | fed34e01b5cc32590911c0ef573bc9a74659e667 (patch) | |
| tree | fb865e5769238bd67995203ab69190b238798097 | |
| parent | 12f1da7a4a54fbf3ab931ca3956bfbfffbc2e563 (diff) | |
Rewrite debian/rules using the dh sequencer
| -rwxr-xr-x | debian/rules | 61 |
1 files changed, 3 insertions, 58 deletions
diff --git a/debian/rules b/debian/rules index a53a851..f01e904 100755 --- a/debian/rules +++ b/debian/rules @@ -1,64 +1,9 @@ #!/usr/bin/make -f -## ---------------------------------------------------------------------- -## debian/rules : package script for xml-core -## ---------------------------------------------------------------------- - -## ---------------------------------------------------------------------- -## uncomment this to turn on verbose mode #export DH_VERBOSE=1 -## ---------------------------------------------------------------------- -PACKAGE = xml-core - -## ---------------------------------------------------------------------- -## targets - -clean: - dh_testdir - dh_testroot - rm -f tools/update-xmlcatalog.8 debhelper/dh_installxmlcatalogs.1 - dh_clean tools/update-xmlcatalog.8 \ - debhelper/dh_installxmlcatalogs.1 \ - build-stamp install-stamp - -build: build-stamp -build-stamp: - dh_testdir - $(MAKE) - touch build-stamp - -install: install-stamp -install-stamp: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - $(MAKE) install prefix=$(CURDIR)/debian/$(PACKAGE)/usr - touch install-stamp +%: + dh $@ -binary-indep: build install - dh_testdir - dh_testroot - dh_installdocs - dh_installexamples - dh_installchangelogs +override_dh_install: dh_install DH_AUTOSCRIPTDIR=debhelper debhelper/dh_installxmlcatalogs - dh_installcatalogs - dh_link - dh_usrlocal - dh_compress - dh_fixperms - dh_installdeb - dh_perl -d - dh_gencontrol - dh_md5sums - dh_builddeb - -binary-arch: - -binary: binary-indep binary-arch - -.PHONY: clean build install binary-indep binary-arch binary - -## ---------------------------------------------------------------------- |
