File: rules

package info (click to toggle)
eyefiserver 2.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 232 kB
  • ctags: 8
  • sloc: python: 553; sh: 151; makefile: 7
file content (12 lines) | stat: -rwxr-xr-x 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
#DH_VERBOSE=1

CHANGELOG_DATE:=$(shell dpkg-parsechangelog -S Date)
VERSION:=$(shell dpkg-parsechangelog -S Version)

%:
	dh $@ --with python2

override_dh_auto_build:
	txt2man -t eyefiserver -r "eyefiserver $(VERSION)" -s 1 -v "Executable programs or shell commands" -d "`date -d '$(CHANGELOG_DATE)' -u "+%F"`" -I file doc/eyefiserver.txt > doc/eyefiserver.1
	txt2man -t eyefiserver.conf -r "eyefiserver $(VERSION)" -s 5 -v "File formats and conventions" -d "`date -d '$(CHANGELOG_DATE)' -u "+%F"`" doc/eyefiserver.conf.txt > doc/eyefiserver.conf.5