1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
# debian/rules for tree-puzzle using dh
# Andreas Tille <tille@debian.org>, GPL
pkg:=tree-puzzle
ppkg:=tree-ppuzzle
%:
dh $@ --with autoreconf
override_dh_compress:
dh_compress --exclude=.pdf --exclude .phy --exclude trees --exclude .b
override_dh_install-arch:
dh_install -a
# The binary has to be renamed because of the generic name
mv `pwd`/debian/tmp/usr/bin/puzzle `pwd`/debian/$(pkg)/usr/bin/$(pkg)
mv `pwd`/debian/tmp/usr/bin/ppuzzle `pwd`/debian/$(ppkg)/usr/bin/$(ppkg)
override_dh_auto_test:
# unfortunately most tests are failing for the moment
# the issue is documented in
# debian/patches/patch_test_results.patch
# and needs to be discussed with upstream
dh_auto_test || true
|