Skip to content

Commit

Permalink
debian: switch to minimal debhelper style
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed Jun 9, 2020
1 parent 2d2f68d commit 97575d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 47 deletions.
1 change: 1 addition & 0 deletions debian/grml-paste.install
@@ -0,0 +1 @@
grml-paste /usr/bin/
1 change: 1 addition & 0 deletions debian/manpages
@@ -0,0 +1 @@
grml-paste.1.gz
49 changes: 2 additions & 47 deletions debian/rules
Expand Up @@ -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 $@

0 comments on commit 97575d8

Please sign in to comment.