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
+9
View File
@@ -10,6 +10,15 @@ sysconf_DATA = LCDd.conf
EXTRA_DIST = $(sysconf_DATA) CREDITS README.IRman contrib
## convenience targets
install-html-guides: install-html-developerguide install-html-userguide
install-html-developerguide:
$(MAKE) -C docs $@
install-html-userguide:
$(MAKE) -C docs $@
dox:
$(MAKE) -C docs $@
+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
+1 -1
View File
@@ -2,7 +2,7 @@ Source: lcdproc
Section: utils
Priority: extra
Maintainer: Jonathan Oxer <jon@debian.org>
Build-Depends: debhelper (>= 4.0.0), automake1.7, autoconf, texinfo, libncurses5-dev, libusb-dev (>= 0.1.8), libsvga1-dev, libxosd-dev
Build-Depends: debhelper (>= 4.0.0), automake1.9, autoconf, xmlto, texinfo, libncurses5-dev, libusb-dev (>= 0.1.8), libsvga1-dev, libxosd-dev
Standards-Version: 3.6.2
Package: lcdproc
+1
View File
@@ -4,6 +4,7 @@ etc/default
etc/lcdproc
usr/bin
usr/sbin
usr/share/doc/lcdproc/user-guide/
usr/share/doc/lcdproc/examples
usr/share/man/man1
usr/share/man/man8
+1
View File
@@ -75,6 +75,7 @@ install: build
# Add here commands to install the package into debian/lcdproc.
$(MAKE) install DESTDIR=$(CURDIR)/debian/lcdproc
$(MAKE) install-html-userguide DESTDIR=$(CURDIR)/debian/lcdproc
# install config file (with some corrections
sed -e '/^DriverPath=/s,server/drivers,/usr/lib/lcdproc,' \