Fix sgml docs build.
This commit is contained in:
parent
d6f98cbdb8
commit
26b41ff439
|
@ -1,3 +1,10 @@
|
|||
2005-12-08 Kevin E. Martin <kem-at-freedesktop-dot-org>
|
||||
|
||||
* configure.ac:
|
||||
* hw/dmx/doc/Makefile.am:
|
||||
* hw/xfree86/doc/sgml/Makefile.am:
|
||||
Fix sgml docs build.
|
||||
|
||||
2005-12-08 Kevin E. Martin <kem-at-freedesktop-dot-org>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -449,11 +449,10 @@ fi
|
|||
|
||||
dnl Handle building documentation
|
||||
AM_CONDITIONAL(BUILDDOCS, test "x$BUILDDOCS" = xyes)
|
||||
if test "x$BUILDDOCS" = xyes; then
|
||||
dnl Only build sgml docs when linuxdoc is available
|
||||
AC_PATH_PROG(LINUXDOC, linuxdoc)
|
||||
fi
|
||||
AM_CONDITIONAL(BUILDSGMLDOCS, test "x$LINUXDOC" != x)
|
||||
|
||||
dnl Only build sgml docs when linuxdoc is available and
|
||||
dnl def.ents has been installed
|
||||
XORG_CHECK_LINUXDOC
|
||||
|
||||
dnl Handle installing libxf86config
|
||||
AM_CONDITIONAL(INSTALL_LIBXF86CONFIG, [test "x$INSTALL_LIBXF86CONFIG" = xyes])
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -21,29 +21,31 @@
|
|||
|
||||
SGML_FILES = DESIGN.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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user