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
# DH_VERBOSE := 1
include /usr/share/dpkg/default.mk
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
pandoc -s --from markdown --to html README.md | \
sed -e 's#"https://bitbucket.org/repo/r[Mm]969[Kk]/images#"images#' > README.html
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.md
override_dh_fixperms:
dh_fixperms
find debian/$(DEB_SOURCE) -name "*.txt" -exec chmod -x \{\} \;
find debian/$(DEB_SOURCE) -name "calculate_diversity.R" \
-exec chmod +x \{\} \;
|