#!/usr/bin/make -f # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 PACKAGE = python-pywbem DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" DEFAULT_PYLIB = $(call py_libdir,$(shell pyversions -d)) %.1: debian/%.1.xml $(XP) $(DB2MAN) $< clean: dh $@ --with python2 rm -f wbemcli.py.1 %: wbemcli.py.1 dh $@ --with python2 binary binary-arch binary-indep: wbemcli.py.1 dh $@ --with python2 override_dh_installman: wbemcli.py.1 install -d debian/python-pywbem/usr/share/man/man1/ man --recode UTF-8 ./wbemcli.py.1 > debian/python-pywbem/usr/share/man/man1/wbemcli.py.1 chmod 644 debian/python-pywbem/usr/share/man/man1/wbemcli.py.1 .PHONY: binary binary-arch binary-indep install build clean clean-patched