debian: switch to minimal debhelper style
authorMichael Prokop <mika@grml.org>
Tue, 9 Jun 2020 20:16:06 +0000 (22:16 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 9 Jun 2020 20:27:15 +0000 (22:27 +0200)
debian/grml-paste.install [new file with mode: 0644]
debian/manpages [new file with mode: 0644]
debian/rules

diff --git a/debian/grml-paste.install b/debian/grml-paste.install
new file mode 100644 (file)
index 0000000..93dbd3d
--- /dev/null
@@ -0,0 +1 @@
+grml-paste /usr/bin/
diff --git a/debian/manpages b/debian/manpages
new file mode 100644 (file)
index 0000000..ca15b6c
--- /dev/null
@@ -0,0 +1 @@
+grml-paste.1.gz
index 3174216..955dd78 100755 (executable)
@@ -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 $@