From 97575d8e4601bac5b5e8f51bb9f72e380921f99a Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 9 Jun 2020 22:16:06 +0200 Subject: [PATCH] debian: switch to minimal debhelper style --- debian/grml-paste.install | 1 + debian/manpages | 1 + debian/rules | 49 ++--------------------------------------------- 3 files changed, 4 insertions(+), 47 deletions(-) create mode 100644 debian/grml-paste.install create mode 100644 debian/manpages diff --git a/debian/grml-paste.install b/debian/grml-paste.install new file mode 100644 index 0000000..93dbd3d --- /dev/null +++ b/debian/grml-paste.install @@ -0,0 +1 @@ +grml-paste /usr/bin/ diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..ca15b6c --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +grml-paste.1.gz diff --git a/debian/rules b/debian/rules index 3174216..955dd78 100755 --- a/debian/rules +++ b/debian/rules @@ -9,50 +9,5 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -build: build-stamp - -build-stamp: - dh_testdir - $(MAKE) - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - $(MAKE) clean - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs usr/bin - - install -m 755 grml-paste debian/grml-paste/usr/bin/grml-paste - -# Build architecture-dependent files here. -binary-arch: build install -# We have nothing to do by default. - -# Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_installman grml-paste.1.gz - dh_link - dh_strip - dh_compress - 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 $@ -- 2.1.4