diff options
Diffstat (limited to 'libX11/specs')
-rw-r--r-- | libX11/specs/xmlrules.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libX11/specs/xmlrules.in b/libX11/specs/xmlrules.in index d9f8fea42..c34fba41b 100644 --- a/libX11/specs/xmlrules.in +++ b/libX11/specs/xmlrules.in @@ -21,6 +21,10 @@ # DEALINGS IN THE SOFTWARE.
#
+CLEANFILES =
+SUFFIXES =
+XMLTO_FLAGS =
+
if HAVE_XMLTO
spec_DATA = $(doc_sources:.xml=.html)
@@ -33,16 +37,16 @@ spec_DATA += $(doc_sources:.xml=.txt) endif
if HAVE_STYLESHEETS
-XMLTO_FLAGS = -m $(XSL_STYLESHEET) --stringparam img.src.path=$(abs_builddir)/
+XMLTO_FLAGS += -m $(XSL_STYLESHEET) --stringparam img.src.path=$(abs_builddir)/
spec_DATA += xorg.css
xorg.css: $(STYLESHEET_SRCDIR)/xorg.css
$(AM_V_GEN)cp -pf $(STYLESHEET_SRCDIR)/xorg.css $@
endif
-CLEANFILES = $(spec_DATA)
+CLEANFILES += $(spec_DATA)
-SUFFIXES = .xml .ps .pdf .txt .html
+SUFFIXES += .xml .ps .pdf .txt .html
%.txt: %.xml $(dist_spec_DATA)
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
|