Revision: 1874
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1874&view=rev
Author:   nadvornik
Date:     2009-11-27 23:27:35 +0000 (Fri, 27 Nov 2009)

Log Message:
-----------
build documentation with gnome-doc-tool in makefile

Modified Paths:
--------------
    trunk/Makefile.am
    trunk/doc/Makefile.am

Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am   2009-11-22 09:12:22 UTC (rev 1873)
+++ trunk/Makefile.am   2009-11-27 23:27:35 UTC (rev 1874)
@@ -30,4 +30,4 @@
 dist-hook: geeqie.spec
        cp $(top_builddir)/geeqie.spec $(distdir)
 
-
+DISTCLEANFILES = config.report

Modified: trunk/doc/Makefile.am
===================================================================
--- trunk/doc/Makefile.am       2009-11-22 09:12:22 UTC (rev 1873)
+++ trunk/doc/Makefile.am       2009-11-27 23:27:35 UTC (rev 1874)
@@ -2,4 +2,23 @@
 
 helpdir = @htmldir@
 
+# empty help_DATA just installs the directory
+help_DATA = 
+
 EXTRA_DIST = docbook2html.sh docbook
+
+html/GuideIndex.html: docbook/GuideIndex.xml
+       rm -rf html; mkdir html && gnome-doc-tool html -o html 
$(srcdir)/docbook/GuideIndex.xml
+
+html: html/GuideIndex.html
+
+install-data-hook: html
+       cd html; for f in * ; do $(INSTALL_DATA) "$$f" 
"$(DESTDIR)$(helpdir)/$$f" ; done
+       ln -s GuideIndex.html "$(DESTDIR)$(helpdir)/index.html"
+       
+uninstall-hook:
+       rm "$(DESTDIR)$(helpdir)/"*
+
+clean-local:
+       rm -rf html
+


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to