SF.net SVN: geany: [447] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Jun 15 17:32:01 UTC 2006


Revision: 447
Author:   eht16
Date:     2006-06-15 10:31:54 -0700 (Thu, 15 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/geany/?rev=447&view=rev

Log Message:
-----------
Fixed a bug which breaks "make install" when xmlto is not installed.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/Makefile.am
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-06-15 12:57:07 UTC (rev 446)
+++ trunk/ChangeLog	2006-06-15 17:31:54 UTC (rev 447)
@@ -1,7 +1,9 @@
-2006-06-15  Enrico Troeger  <enrico at endor>
+2006-06-15  Enrico Troeger  <enrico.troeger at uvena.de>
 
  * src/utils.c: Fixed a bug at opening files when clicking on compiler
                 error messages(thanks Yura Semashko).
+ * doc/Makefile.am: Fixed a bug which breaks "make install" when xmlto
+                    is not installed.
 
 
 2006-06-13  Enrico Troeger  <enrico.troeger at uvena.de>

Modified: trunk/doc/Makefile.am
===================================================================
--- trunk/doc/Makefile.am	2006-06-15 12:57:07 UTC (rev 446)
+++ trunk/doc/Makefile.am	2006-06-15 17:31:54 UTC (rev 447)
@@ -13,11 +13,11 @@
 	jw -b txt geany.docbook
 
 htmldoc:
-	$(mkinstalldirs) html
-	xmlto -x geany.xsl -o html/ xhtml geany.docbook
-#	xsltproc --stringparam html.stylesheet geany.css -o html/ \
-#	/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/chunk.xsl geany.docbook
-	test -f html/geany.css || cp geany.css html/
+	if [ ! -f "./html/index.html" ]; then \
+		$(mkinstalldirs) html; \
+		xmlto -x geany.xsl -o html/ xhtml geany.docbook; \
+		test -f html/geany.css || cp geany.css html/; \
+	fi
 
 doc: geany.txt htmldoc
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list