[med-svn] [Git][med-team/parsinsert][master] d/rules: rearrange for better readability.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Tue Jan 6 21:07:51 GMT 2026



Étienne Mollier pushed to branch master at Debian Med / parsinsert


Commits:
6c8589dc by Étienne Mollier at 2026-01-06T22:07:31+01:00
d/rules: rearrange for better readability.

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -1,38 +1,43 @@
 #!/usr/bin/make -f
 
-# Hardening and lack of position independent executable are causing a number of
-# errors in parsinsert results when a number of compiler optimizations are
-# active.  See #964082 for further details on the issue.
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# Lack of position independent executable is causing a number of errors
+# in parsinsert results.  See #964082 for further details on the issue.
 export DEB_CXXFLAGS_MAINT_APPEND = -fPIE
-# Also, although -fPIE does help on several platforms, a bunch of architectures
-# are still affected by the precision issue.
+
+# Also, although -fPIE does help on several platforms, a bunch of
+# architectures are still affected by precision issues.
 UNOPTIMIZED_ARCHS := armel armhf mips64el ppc64el hppa ia64 powerpc ppc64 x32
 ifneq (,$(filter $(DEB_BUILD_ARCH),$(UNOPTIMIZED_ARCHS)))
 export DEB_CXXFLAGS_MAINT_APPEND = -O1
 endif
 
-
 %:
 	dh $@
 
 execute_after_dh_auto_build:
 	mv ParsInsert parsinsert
 
-override_dh_auto_clean:
+execute_before_dh_auto_clean:
 	mv parsinsert ParsInsert || true
-	dh_auto_clean
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	cd debian/tests/test_data && \
-	$(CURDIR)/parsinsert -d0 -c80 -n1 set1000.fasta -m lanemask.txt -x rdp.taxonomy \
-		-l set1000.log -o set1000.results -t core_rdp.ntree \
-		-s core_rdp.fasta && \
-	cmp -s right_results set1000.results || { \
-	    echo "incorrect result" ; \
-	    exit 1 ; } && \
-	rm -f set1000.results set1000.tree
+	cd debian/tests/test_data \
+	&& $(CURDIR)/parsinsert -d0 -c80 \
+		-n1 set1000.fasta \
+		-m lanemask.txt \
+		-x rdp.taxonomy \
+		-l set1000.log \
+		-o set1000.results \
+		-t core_rdp.ntree \
+		-s core_rdp.fasta \
+	&& cmp -s right_results set1000.results \
+	   || { echo "incorrect result" ; \
+	        exit 1 ; \
+	   } \
+	&& rm -f set1000.results set1000.tree
 endif
 
 # Note a manpage was generated using:



View it on GitLab: https://salsa.debian.org/med-team/parsinsert/-/commit/6c8589dc9afb75a9520974b8855b3b27913c5e90

-- 
View it on GitLab: https://salsa.debian.org/med-team/parsinsert/-/commit/6c8589dc9afb75a9520974b8855b3b27913c5e90
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260106/da092914/attachment-0001.htm>


More information about the debian-med-commit mailing list