[med-svn] [Git][med-team/mosdepth][master] 3 commits: nimcache in current directory

Nilesh Patra gitlab at salsa.debian.org
Thu Nov 5 06:09:35 GMT 2020



Nilesh Patra pushed to branch master at Debian Med / mosdepth


Commits:
8bafe841 by Nilesh Patra at 2020-11-05T11:30:56+05:30
nimcache in current directory

- - - - -
7c08fa0e by Nilesh Patra at 2020-11-05T11:32:15+05:30
Regenerate files during build so there are no install problems in mosdepth-examples if tests are not run

- - - - -
71762aa9 by Nilesh Patra at 2020-11-05T11:39:20+05:30
Enable debuginfo and override dh_dwz since this doesn't seem to handle nim debug symbols well

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -11,11 +11,8 @@ include /usr/share/dpkg/default.mk
 	dh $@
 
 override_dh_auto_build:
-	nim c -d:release -p:/usr/share/nimble/unicodeplus  -p:/usr/share/nimble/unicodedb  -p:/usr/share/nimble/regex  -p:/usr/share/nimble/docopt -p:/usr/share/nimble/hts --nimcache:$(CURDIR)/tests/nimcache mosdepth.nim
+	nim c --debuginfo:on -d:release -p:/usr/share/nimble/unicodeplus  -p:/usr/share/nimble/unicodedb  -p:/usr/share/nimble/regex  -p:/usr/share/nimble/docopt -p:/usr/share/nimble/hts --nimcache:$(CURDIR)/nimcache mosdepth.nim
 	help2man --no-info --no-discard-stderr --help-option="-h" ./mosdepth > debian/mosdepth.1
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	rm -f tests/missing.bed
 	for f in debian/missing-sources/*; do \
 		outp=tests/`echo $$f | sed -e 's/sam/bam/' -e 's/debian\/missing\-sources\///'` ; \
@@ -26,12 +23,13 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 		fi ; \
 		samtools index $$outp ; \
 	done
-	dh_auto_test
-endif
 
 override_dh_auto_clean:
 	rm -f debian/mosdepth.1
 	rm -f mosdepth
-	rm -rf tests/nimcache
+	rm -rf nimcache
 	rm -f tests/big.bam.csi
 	rm -f tests/ovl.bam tests/ovl.bam.bai tests/overlapping-pairs.bam.bai tests/overlapping-pairs.bam tests/overlapping-pairs.bam  tests/empty-tids.bam.bai tests/empty-tids.bam tests/big.bam tests/nanopore.bam tests/nanopore.bam.bai
+
+override_dh_dwz:
+	dh_dwz || true



View it on GitLab: https://salsa.debian.org/med-team/mosdepth/-/compare/ab04e61aa21d591d5255ef9a381a590e80f42b7c...71762aa9f653ca5b236a962089eef2bc4ec1bc15

-- 
View it on GitLab: https://salsa.debian.org/med-team/mosdepth/-/compare/ab04e61aa21d591d5255ef9a381a590e80f42b7c...71762aa9f653ca5b236a962089eef2bc4ec1bc15
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/20201105/b5a93dd1/attachment-0001.html>


More information about the debian-med-commit mailing list