1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
# DH_VERBOSE := 1
DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
TESTDIR := debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/tests
%:
dh $@ --with python2
override_dh_fixperms:
dh_fixperms
find debian -name checkLibraries.R -exec chmod +x \{\} \;
find debian -name runGeneral.R -exec chmod +x \{\} \;
override_dh_install:
dh_install
mv `find debian -name rescale_test.py` $(TESTDIR)
sed -i 's/^import rescale/from mapdamage &/' $(TESTDIR)/rescale_test.py
|