2003-09-28 Havoc Pennington <hp@pobox.com>

* doc/Makefile.am (dbus-specification.html): testing a funky hack
	to work with Debian db2html
This commit is contained in:
Havoc Pennington 2003-09-29 02:23:29 +00:00
parent b99e916792
commit 92a2943c91
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2003-09-28 Havoc Pennington <hp@pobox.com>
* doc/Makefile.am (dbus-specification.html): testing a funky hack
to work with Debian db2html
2003-09-28 Havoc Pennington <hp@pobox.com>
* configure.in: 0.13

View file

@ -10,14 +10,19 @@ if DBUS_DOCS_ENABLED
all-local: dbus-specification.html dbus-test-plan.html
endif
## Debian db2html outputs to stdout, so we collect stdout and use
## it if we didn't get the proper output
dbus-specification.html: dbus-specification.sgml
$(DB2HTML) -o . --nochunks $< && \
$(DB2HTML) -o . --nochunks $< > $@.stdout && \
(test -e $@ && rm -f $@.stdout || mv $@.stdout $@) && \
rm -rf $(srcdir)/dbus-specification/stylesheet-images && \
(if test -d $(srcdir)/dbus-specification ; then \
rmdir $(srcdir)/dbus-specification ; fi)
dbus-test-plan.html: dbus-test-plan.sgml
$(DB2HTML) -o . --nochunks $< && \
$(DB2HTML) -o . --nochunks $< > $@.stdout && \
(test -e $@ && rm -f $@.stdout || mv $@.stdout $@) && \
rm -rf $(srcdir)/dbus-test-plan/stylesheet-images && \
(if test -d $(srcdir)/dbus-test-plan ; then \
rmdir $(srcdir)/dbus-test-plan ; fi)