summaryrefslogtreecommitdiff
path: root/hw/dmx/doc
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-12-09 03:02:21 +0000
committerKevin E Martin <kem@kem.org>2005-12-09 03:02:21 +0000
commit26b41ff43959a07a778bc3d6e4db8da036f09de3 (patch)
treea67959d26f2cfb66777a2c505afa2c19273aa153 /hw/dmx/doc
parentd6f98cbdb8fb74c504a92939d3741420eeed7110 (diff)
Fix sgml docs build.
Diffstat (limited to 'hw/dmx/doc')
-rw-r--r--hw/dmx/doc/Makefile.am14
1 files changed, 8 insertions, 6 deletions
diff --git a/hw/dmx/doc/Makefile.am b/hw/dmx/doc/Makefile.am
index 888306cfe..08a60b811 100644
--- a/hw/dmx/doc/Makefile.am
+++ b/hw/dmx/doc/Makefile.am
@@ -21,29 +21,31 @@
SGML_FILES = dmx.sgml scaled.sgml
+if BUILD_LINUXDOC
TXT_FILES = $(SGML_FILES:%.sgml=%.txt)
PS_FILES = $(SGML_FILES:%.sgml=%.ps)
+if BUILD_PDFDOC
PDF_FILES = $(SGML_FILES:%.sgml=%.pdf)
+endif
HTML_FILES = $(SGML_FILES:%.sgml=%.html)
SUFFIXES = .sgml .txt .html .ps .pdf
-if BUILDSGMLDOCS
.sgml.txt:
@rm -f $@
- GROFF_NO_SGR= $(LINUXDOC) -B txt $^
+ $(MAKE_TEXT) $<
.sgml.ps:
@rm -f $@
- $(LINUXDOC) -B latex --papersize=letter --output=ps $^
+ $(MAKE_PS) $<
-.sgml.pdf:
+.ps.pdf:
@rm -f $@
- $(LINUXDOC) -B latex --papersize=letter --output=pdf $^
+ $(MAKE_PDF) $<
.sgml.html:
@rm -f $@
- $(LINUXDOC) -B html --split=0 $^
+ $(MAKE_HTML) $<
noinst_DATA = $(TXT_FILES) $(PS_FILES) $(PDF_FILES) $(HTML_FILES)
CLEANFILES = $(TXT_FILES) $(PS_FILES) $(PDF_FILES) $(HTML_FILES)