From: Sebastian Harl Date: Sat, 9 Jul 2016 20:24:35 +0000 (+0200) Subject: Switch to a simple, default dh debian/rules. X-Git-Tag: src2tex-2.12h-9~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1b070bdf6af756f1f7e260e68d5f98992279bf4e;p=pkg-src2tex.git Switch to a simple, default dh debian/rules. --- diff --git a/debian/changelog b/debian/changelog index daa6b8c..86e82ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ src2tex (2.12h-9) UNRELEASED; urgency=medium * Recommend texlive instead of tetex-bin which is no longer available (Closes: #549184). * Switch to debhelper 9. + * Switch to a simple, default dh debian/rules. -- Sebastian Harl Sat, 09 Jul 2016 22:13:58 +0200 diff --git a/debian/rules b/debian/rules index 2cbbaca..cbe925d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,60 +1,3 @@ #!/usr/bin/make -f - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -CFLAGS = -Wall -g -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - -build: build-stamp -build-stamp: - dh_testdir - - $(MAKE) CFLAGS="$(CFLAGS)" - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - $(MAKE) clean - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - dh_install - -# Build architecture-independent files here. -binary-indep: build install - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_installman - dh_link - dh_strip - dh_compress -Xexamples - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install - +%: + dh $@