1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
MANPAGES:=$(CURDIR)/debian/manpages/envfrom2srs.1 $(CURDIR)/debian/manpages/srs2envtol.1
%:
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_build: $(MANPAGES)
dh_auto_install --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install --buildsystem=pybuild
mv $(CURDIR)/debian/tmp/usr/bin/envfrom2srs.py $(CURDIR)/debian/tmp/usr/bin/envfrom2srs
mv $(CURDIR)/debian/tmp/usr/bin/srs2envtol.py $(CURDIR)/debian/tmp/usr/bin/srs2envtol
override_dh_auto_clean:
dh_auto_clean --buildsystem=pybuild
rm -f $(MANPAGES)
%.1: %.1.rst
rst2man $< > $@
|