[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-1121-gb3ccbe14b

git at osgeo.org git at osgeo.org
Tue Jul 4 16:15:14 PDT 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  b3ccbe14b21fe47c4f1c16308112cad36d484e07 (commit)
      from  ed155046b7d8af7803c73da16833079775cad3ab (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b3ccbe14b21fe47c4f1c16308112cad36d484e07
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Jul 5 01:12:41 2023 +0200

    Add chunked-html-localized rule
    
    References #5429

diff --git a/doc/Makefile.in b/doc/Makefile.in
index e17c0a266..ab9811e55 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -299,7 +299,7 @@ postgis-out.xml: postgis.xml Makefile
 
 chunked-html: postgis-out.xml Makefile images $(XML_INPUTS)
 	$(XSLTPROC) $(XSLTPROC_COMMONOPTS) \
-		--output html/ \
+		--output html$(DOCSUFFIX)/ \
 		$(CHUNK_HTML_DOCBOOK_XSL) \
 		$<
 
@@ -322,10 +322,11 @@ chunked-html-web-mobile: postgis-out.xml Makefile images $(XML_INPUTS)
 
 html: html/postgis$(DOCSUFFIX).html
 
-html-localized:
-	@for lang in $(translations); do \
-    echo "Creating html for language $$lang..."; \
-    $(MAKE) -C po/$$lang local-html || exit 1; \
+html-localized chunked-html-localized:
+	rule=$(patsubst %-localized,%,$@); \
+	for lang in $(translations); do \
+    echo "Creating $$rule for language $$lang..."; \
+    $(MAKE) -C po/$$lang local-$$rule || exit 1; \
   done
 
 html/postgis$(DOCSUFFIX).html: postgis-out.xml Makefile images $(XML_INPUTS)
diff --git a/doc/po/Makefile.local b/doc/po/Makefile.local
index 8ca8f1fc5..a347803b9 100644
--- a/doc/po/Makefile.local
+++ b/doc/po/Makefile.local
@@ -3,17 +3,8 @@
 
 local-all: local-html comments
 
-local-html: symlinks
-	$(MAKE) html
-
-local-cheatsheets: symlinks
-	$(MAKE) cheatsheets
-
-local-pdf: symlinks
-	$(MAKE) pdf
-
-local-check: symlinks
-	$(MAKE) check
+local-html local-cheatsheets local-pdf local-chunked-html local-check: symlinks
+	$(MAKE) $(patsubst local-%,%,$@)
 
 symlinks:
 	rm -f html; ln -s ../../html html

-----------------------------------------------------------------------

Summary of changes:
 doc/Makefile.in       | 11 ++++++-----
 doc/po/Makefile.local | 13 ++-----------
 2 files changed, 8 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list