aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: fcc17c276acf6ba5fe74d015191f251aa8f40e9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# 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_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_gencontrol:
	dh_gencontrol -- -v$(PACKAGEVERSION)