File: rules

package info (click to toggle)
python-whey 0.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,912 kB
  • sloc: python: 4,433; makefile: 7
file content (13 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
#export DH_VERBOSE = 1

#set whey.txt version and date automatically when building.
VERSION := $(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +"%F" -f -)

%:
	dh $@ --buildsystem=pybuild

execute_before_dh_installman:
	txt2man -s 1 -v "whey" -t "whey" \
	-r "$(VERSION)" -d "$(DEBDATE)" debian/manpage/whey.txt > debian/manpage/whey.1