1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export PYBUILD_NAME=anki
%:
dh $@ --with python3
override_dh_auto_build:
# standard make target only prints help message
override_dh_auto_install:
# prevent Makefile install target being run
override_dh_install:
dh_install
cp debian/anki-launcher debian/anki/usr/bin/anki
override_dh_fixperms:
find debian/anki/usr/share/anki -type f -perm -1 -exec chmod a-x {} \;
dh_fixperms
override_dh_clean:
find . -type f -a -name '*.py[co]' -exec rm -f {} \;
dh_clean
|