Check HAVE_XMLTO_TEXT before trying to use xmlto to make text files
Reported-by: Matt Turner <mattst88@gmail.com> Tested-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
a6fb7829ed
commit
05c4fe83fd
|
@ -48,10 +48,12 @@ xorg.css: $(STYLESHEET_SRCDIR)/xorg.css
|
|||
endif
|
||||
|
||||
if HAVE_XMLTO
|
||||
if HAVE_XMLTO_TEXT
|
||||
BUILT_DOC_FILES += $(TXT_FILES)
|
||||
.xml.txt:
|
||||
@rm -f $@
|
||||
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
|
||||
endif
|
||||
|
||||
BUILT_DOC_FILES += $(HTML_FILES)
|
||||
.xml.html:
|
||||
|
|
Loading…
Reference in New Issue
Block a user