From 0c1d7d24c316d3a7c8e766483da9b5e0e8765b09 Mon Sep 17 00:00:00 2001 From: VG Date: Sun, 11 Sep 2016 19:03:48 +0200 Subject: new package autobuild method --- debian/rules | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 6222c9b..fcc17c2 100755 --- a/debian/rules +++ b/debian/rules @@ -4,17 +4,28 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -export PREFIX:=/usr +# debian version rule: +# 0.0 < 0.5 < 0.10 < 0.99 < 1 < 1.0~rc1 < 1.0 < 1.0+b1 < 1.0+nmu1 < 1.1 < 2.0 + +VERSION = 0.3 +PACKAGEVERSION = $(VERSION)+$(shell date +%Y%m%d%H%M%S) %: dh $@ +# note for build: # Delete manpages installed from upstream since not gzipped, and let debian # helper do it instead. -override_dh_installman: +override_dh_auto_clean: +override_dh_auto_test: +override_dh_auto_build: +override_dh_auto_install: + git clone --depth 1 /home/calendros/seele/autobuild/upstream/meh src + make -C src + make -C src install PREFIX=debian/meh rm debian/meh/usr/share/man/man1/meh.1 dh_installman -override_dh_auto_test: - echo "bypass test because it fails on amd64 build" +override_dh_gencontrol: + dh_gencontrol -- -v$(PACKAGEVERSION) -- cgit v1.2.3