[med-svn] [Git][med-team/khmer][master] Fix building arch-independent packages separately.

Michael R. Crusoe gitlab at salsa.debian.org
Wed Jan 9 15:29:30 GMT 2019


Michael R. Crusoe pushed to branch master at Debian Med / khmer


Commits:
88f5bd72 by Michael R. Crusoe at 2019-01-09T15:27:54Z
Fix building arch-independent packages separately.

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+khmer (2.1.2+dfsg-6) unstable; urgency=medium
+
+  * Fix building arch-independent packages separately.
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Wed, 09 Jan 2019 07:27:45 -0800
+
 khmer (2.1.2+dfsg-5) unstable; urgency=medium
 
   * Fix liboxli-dev autopkgtest.


=====================================
debian/control
=====================================
@@ -30,6 +30,7 @@ Homepage: http://khmer.readthedocs.org
 Package: khmer-common
 Architecture: all
 Multi-Arch: foreign
+Built-Using: ${sphinxdoc:Built-Using}
 Depends: file,
          ${misc:Depends},
          ${sphinxdoc:Depends},


=====================================
debian/rules
=====================================
@@ -47,6 +47,7 @@ override_dh_sphinxdoc:
 	rdfind -makesymlinks true -followsymlinks true\
 		/usr/lib/python3/dist-packages/guzzle_sphinx_theme \
 		$(shell find debian/khmer-common | grep -i -v citation)
-	rm debian/khmer-common/usr/share/doc/khmer-common/html/_sources/citations.rst.txt
-	cd debian/khmer-common/usr/share/doc/khmer-common/html/_sources/ && \
-		ln -s ../../CITATION citations.rst.txt
+	if [ -f debian/khmer-common/usr/share/doc/khmer-common/html/_sources/citations.rst.txt ]; then \
+	  rm debian/khmer-common/usr/share/doc/khmer-common/html/_sources/citations.rst.txt && \
+	  cd debian/khmer-common/usr/share/doc/khmer-common/html/_sources/ && \
+		ln -s ../../CITATION citations.rst.txt; fi



View it on GitLab: https://salsa.debian.org/med-team/khmer/commit/88f5bd72ccedb50ba5071089395fe5ac4868d0e1

-- 
View it on GitLab: https://salsa.debian.org/med-team/khmer/commit/88f5bd72ccedb50ba5071089395fe5ac4868d0e1
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/20190109/f4d43dd1/attachment-0001.html>


More information about the debian-med-commit mailing list