| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# DH_VERBOSE := 1 |
| 4 |
|
| 5 |
include /usr/share/dpkg/default.mk |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --with python3 --buildsystem=pybuild |
| 9 |
|
| 10 |
override_dh_auto_build: |
| 11 |
dh_auto_build |
| 12 |
pandoc -s --from markdown --to html README.md | \ |
| 13 |
sed -e 's#"https://bitbucket.org/repo/r[Mm]969[Kk]/images#"images#' > README.html |
| 14 |
|
| 15 |
override_dh_installchangelogs: |
| 16 |
dh_installchangelogs CHANGELOG.md |
| 17 |
|
| 18 |
override_dh_fixperms: |
| 19 |
dh_fixperms |
| 20 |
find debian/$(DEB_SOURCE) -name "*.txt" -exec chmod -x \{\} \; |
| 21 |
find debian/$(DEB_SOURCE) -name "calculate_diversity.R" \ |
| 22 |
-exec chmod +x \{\} \; |