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
|
#!/usr/bin/make -f
DEB_UPSTREAM_VERSION := \
$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)+dfsg-.*/\1/p')
%:
NO_THIRD_PARTY=yes dh --with python-support $@
override_dh_auto_install:
NO_THIRD_PARTY=yes python setup.py install --root install --prefix /usr
rm install/usr/lib/python*/site-packages/namebench.py
override_dh_auto_clean:
dh_auto_clean
rm -rf install
override_dh_auto_build:
dh_auto_build
docbook-to-man debian/namebench.sgml > namebench.1
get-orig-source:
uscan \
--verbose \
--no-symlink \
--upstream-version $(DEB_UPSTREAM_VERSION) \
--download-version $(DEB_UPSTREAM_VERSION) \
--destdir . \
--force-download
|