1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_fixperms:
find $(CURDIR)/debian/runsnakerun/ -executable -type f -exec chmod -x "{}" \;
dh_fixperms
override_dh_installchangelogs:
w3m -dump doc/index.html | \
awk '/^Releases/,/^ *Copyright/' | \
sed '1d;2d;$$d' > runsnakerun.changelog
dh_installchangelogs
dh_installchangelogs runsnakerun.changelog
override_dh_auto_clean:
dh_auto_clean
rm -rf runsnakerun.changelog RunSnakeRun.egg-info
|