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
# -*- makefile -*-
export PYBUILD_NAME=pandocfilters
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@ --with python3 --buildsystem=pybuild
execute_after_dh_install:
@# dh_fixperms doesn't consider .py and .ly files (2020-12), remove the exec bit manually.
find debian/python3-pandocfilters/usr/lib -type f -exec chmod a-x '{}' ';'
execute_after_dh_installexamples:
@# remove exec perms from md/ly files, add to example scripts
find debian/python3-pandocfilters/usr/share/doc \
-name '*.ly' -type f -exec chmod a-x '{}' ';'
chmod a-x debian/python3-pandocfilters/usr/share/doc/python3-pandocfilters/examples/*.md
chmod a+x debian/python3-pandocfilters/usr/share/doc/python3-pandocfilters/examples/*.py
|