add convenience targets to Makefiles; require autmake 1.9;

install HTML versin of user guide in Debian
This commit is contained in:
marschap
2006-09-14 09:48:40 +00:00
parent a83702643b
commit 24a8996795
7 changed files with 41 additions and 1 deletions
+11
View File
@@ -15,6 +15,17 @@ EXTRA_DIST = README.dg \
LCDd.8 \
$(doxygen_input)
## convenience targets
install-html-guides: install-html-developerguide install-html-userguide
install-html-developerguide:
$(MAKE) -C lcdproc-dev $@
install-html-userguide:
$(MAKE) -C lcdproc-user $@
######################################################################
# DOXYGEN stuff
# (stolen from cppunit project (http://cppunit.sourceforge.net/)
+9
View File
@@ -11,4 +11,13 @@ EXTRA_DIST = lcdproc-dev.docbook \
license.docbook \
README.docbook
## convenience targets
xmlto = /usr/bin/xmlto
developerguidedir = $(DESTDIR)$(htmldir)/developer-guide/
install-html-developerguide: $(xmlto) lcdproc-dev.docbook
$(mkinstalldirs) $(developerguidedir)
$(xmlto) html -o $(developerguidedir) lcdproc-dev.docbook
## EOF
+9
View File
@@ -14,4 +14,13 @@ EXTRA_DIST = bookinfo.docbook \
running.docbook \
README.docbook
## convenience targets
xmlto = /usr/bin/xmlto
userguidedir = $(DESTDIR)$(htmldir)/user-guide/
install-html-userguide: $(xmlto) lcdproc-user.docbook
$(mkinstalldirs) $(userguidedir)
$(xmlto) html -o $(userguidedir) lcdproc-user.docbook
## EOF