Source: repeatmasker-recon
Version: 1.08-5
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: debian-cr...@lists.debian.org

Hi,

Currently repeatmasker-recon seems to cross build from source because it 
harcodes make in d/rules everywhere.
The attached patch here fixes it, please consider applying.

Nilesh

diff --git a/debian/rules b/debian/rules
index 5e67508..9983fbf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,19 +17,18 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 # main packaging script based on dh7 syntax
 %:
-	dh $@
+	dh $@ --sourcedirectory=src
 
-override_dh_auto_build:
-	cd src; make
+override_dh_auto_test:
+	echo "Do not run tests since there exists no testsuite.sh needed to run those in the package"
 
-override_dh_auto_install:
+execute_before_dh_auto_install:
 	mkdir -p bin
-	cd src; make install
-	dh_install
+
+execute_after_dh_install:
 	cp scripts/recon.pl debian/repeatmasker-recon/usr/bin/repeatmasker-recon
 	cp scripts/MSPCollect.pl debian/repeatmasker-recon/usr/bin/MSPCollect
 	
 override_dh_clean:
-	cd src; make clean
 	rm -rf bin
 	dh_clean

Reply via email to