File: rules

package info (click to toggle)
python-juliandate 1.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 152 kB
  • sloc: python: 168; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 681 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

#export DH_VERBOSE=1

export PYBUILD_NAME=juliandate

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --buildsystem=pybuild

override_dh_installman:
		mkdir -p debian/python3-juliandate/usr/share/man/man1
		PYTHONPATH=`dirname $$(find .pybuild/ -type d -name "juliandate*dist-info" | head -n1)` \
		help2man --version-string $(DEB_VERSION_UPSTREAM) \
	            --no-info \
	            --output debian/python3-juliandate/usr/share/man/man1/python3-juliandate.1  \
	            --no-discard-stderr \
	            --name "Conversion between Julian dates to Julian or Gregorian calendar dates" \
	            debian/python3-juliandate/usr/bin/python3-juliandate