[hipl-commit] [trunk] Rev 4133: Merge doc/Makefile into toplevel Makefile.am.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 6 Apr 2010 14:50:36 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 06/04/2010 at 14:50:36
Revision: 4133
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Merge doc/Makefile into toplevel Makefile.am.

Modified:
  D  doc/Makefile
  M  Makefile.am

=== modified file 'Makefile.am'
--- Makefile.am 2010-04-01 17:20:33 +0000
+++ Makefile.am 2010-04-06 11:50:07 +0000
@@ -624,8 +624,21 @@
 doxygen:
        doxygen Doxyfile
 
+dist_doc_DATA = doc/HOWTO.txt $(wildcard doc/*.png)
+
+doc/HOWTO.txt: doc/HOWTO.xml
+       xmlto -o $(@D) txt $<
+
+doc/howto-html/index.html:  doc/HOWTO.xml
+       xmlto -o $(@D) html $<
+
+install-data-hook: doc/howto-html/index.html
+       cp -r $(<D) $(DESTDIR)$(docdir)
+
+CLEANFILES += doc/HOWTO.txt
 clean-local:
        rm -rf doxy
+       rm -rf doc/howto-html
 
 # The olddeb target is for maemo builds only
 bin deb increl olddeb rpm syncrepo:

Other related posts:

  • » [hipl-commit] [trunk] Rev 4133: Merge doc/Makefile into toplevel Makefile.am. - Diego Biurrun