[Git][debian-gis-team/pystac][master] Simplify target do build doc

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Thu Aug 31 07:27:27 BST 2023



Antonio Valentino pushed to branch master at Debian GIS Project / pystac


Commits:
b4dd968e by Antonio Valentino at 2023-08-31T06:27:11+00:00
Simplify target do build doc

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,8 @@ pystac (1.8.3-2) UNRELEASED; urgency=medium
 
   [ Antonio Valentino ]
   * New d/python3-pystac.lintian-overrides.
+  * debian/rules:
+    - Simplify target to build doc.
 
   [ Bas Couwenberg ]
   * Switch to dh-sequence-*.


=====================================
debian/rules
=====================================
@@ -54,8 +54,7 @@ and not ProjectionTest"
 
 execute_after_dh_auto_build-indep:
 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
-	cd docs && \
-	PYTHONPATH=$(CURDIR) http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \
-	sphinx-build -N -E -T -b html . $(CURDIR)/.pybuild/docs/html/
+	env PYTHONPATH=$(CURDIR) http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \
+	sphinx-build -N -E -T -b html $(CURDIR)/docs $(CURDIR)/.pybuild/docs/html
 	rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees
 endif



View it on GitLab: https://salsa.debian.org/debian-gis-team/pystac/-/commit/b4dd968ea8810aab8ea879d00245d1708dd44534

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pystac/-/commit/b4dd968ea8810aab8ea879d00245d1708dd44534
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/pkg-grass-devel/attachments/20230831/ace4f47a/attachment.htm>


More information about the Pkg-grass-devel mailing list