[med-svn] [Git][med-team/seqan2][debian/experimental] Add missing python3-sphinx-rtd-theme for the docs, and a "nodoc" profile.

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Fri Aug 16 14:13:29 BST 2024



Michael R. Crusoe pushed to branch debian/experimental at Debian Med / seqan2


Commits:
7d7f31b0 by Michael R. Crusoe at 2024-08-16T15:13:06+02:00
Add missing python3-sphinx-rtd-theme for the docs, and a "nodoc" profile.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+seqan2 (2.5.0~rc2+dfsg-2) UNRELEASED; urgency=medium
+
+  * Add missing python3-sphinx-rtd-theme for the docs, and a "nodoc"
+    profile.
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Fri, 16 Aug 2024 14:19:19 +0200
+
 seqan2 (2.5.0~rc2+dfsg-1) experimental; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
@@ -14,7 +14,8 @@ Build-Depends-Arch: zlib1g-dev,
                     libbam-dev,
                     libboost-dev,
                     help2man,
-                    python3-sphinxcontrib.bibtex
+                    python3-sphinxcontrib.bibtex <!nodoc>,
+                    python3-sphinx-rtd-theme <!nodoc>
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/seqan2
 Vcs-Git: https://salsa.debian.org/med-team/seqan2.git


=====================================
debian/rules
=====================================
@@ -48,11 +48,20 @@ ifeq ($(DEB_HOST_ARCH),mips)
 	    -e '/ test_align_parallel_data_structures /d' \
 	    tests/index/CMakeLists.txt
 endif
+ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
 	export DEB_BUILD_ARCH=${DEB_BUILD_ARCH} ; \
 	dh_auto_configure --arch -- \
 		-DSEQAN_STATIC_APPS=False \
 		-DSEQAN_DISABLE_VERSION_CHECK=YES \
 		-DALIGN_SIMD_TEST=FALSE
+else
+	export DEB_BUILD_ARCH=${DEB_BUILD_ARCH} ; \
+	dh_auto_configure --arch -- \
+		-DSEQAN_STATIC_APPS=False \
+		-DSEQAN_DISABLE_VERSION_CHECK=YES \
+		-DALIGN_SIMD_TEST=FALSE \
+		-DSEQAN_NO_DOX=1
+endif
 
 override_dh_auto_configure-indep:
 	dh_auto_configure --indep -B build -- \
@@ -61,8 +70,10 @@ override_dh_auto_configure-indep:
 
 override_dh_auto_build-arch:
 	dh_auto_build --arch ${MAX_PARALLEL}
+ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
 	cd obj-$(DEB_BUILD_GNU_TYPE); make dox
 	cd manual && make html
+endif
 
 override_dh_auto_install-indep:
 	dh_auto_install --indep -B build --destdir=$(CURDIR)/debian/$(pkgdev)/



View it on GitLab: https://salsa.debian.org/med-team/seqan2/-/commit/7d7f31b046b82c327e5f285fc499a4f231eeb907

-- 
View it on GitLab: https://salsa.debian.org/med-team/seqan2/-/commit/7d7f31b046b82c327e5f285fc499a4f231eeb907
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/20240816/49d1a8a7/attachment-0001.htm>


More information about the debian-med-commit mailing list