[GRASS-SVN] r53525 - grass/trunk/man
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Oct 22 13:51:29 PDT 2012
Author: lucadelu
Date: 2012-10-22 13:51:28 -0700 (Mon, 22 Oct 2012)
New Revision: 53525
Modified:
grass/trunk/man/Makefile
grass/trunk/man/build_topics.py
Log:
re-add creation of topics html pages
Modified: grass/trunk/man/Makefile
===================================================================
--- grass/trunk/man/Makefile 2012-10-22 14:46:14 UTC (rev 53524)
+++ grass/trunk/man/Makefile 2012-10-22 20:51:28 UTC (rev 53525)
@@ -48,6 +48,14 @@
GISBASE="$(RUN_GISBASE)" ARCH="$(ARCH)" ARCH_DISTDIR="$(ARCH_DISTDIR)" $(PYTHON) ./build_$(1).py $(2)
endef
+define build_topics
+GISBASE="$(RUN_GISBASE)" ARCH="$(ARCH)" ARCH_DISTDIR="$(ARCH_DISTDIR)" $(PYTHON) ./build_topics.py $(HTMLDIR)
+endef
+
+$(HTMLDIR)/topics.html: $(ALL_HTML)
+ $(call build_topics)
+ touch $@
+
$(HTMLDIR)/full_index.html: $(ALL_HTML) build_full_index.py build_html.py
$(call build,full_index)
touch $@
Modified: grass/trunk/man/build_topics.py
===================================================================
--- grass/trunk/man/build_topics.py 2012-10-22 14:46:14 UTC (rev 53524)
+++ grass/trunk/man/build_topics.py 2012-10-22 20:51:28 UTC (rev 53525)
@@ -59,3 +59,4 @@
write_html_footer(keyfile, "index.html")
topicsfile.write("</ul>\n")
write_html_footer(topicsfile, "index.html")
+topicsfile.close()
More information about the grass-commit
mailing list