Commit 9adccfd5 authored by Sebastian Rasmussen's avatar Sebastian Rasmussen Committed by Sebastian Dröge

gtk-doc: Skip running xsltproc if no inspect files exist

parent a2539744
...@@ -174,7 +174,7 @@ scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp ...@@ -174,7 +174,7 @@ scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp
sgml-build.stamp: scan-build.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl $(expand_content_files) sgml-build.stamp: scan-build.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl $(expand_content_files)
@echo ' DOC Building XML' @echo ' DOC Building XML'
@-mkdir -p xml @-mkdir -p xml
@for a in $(srcdir)/$(INSPECT_DIR)/*.xml; do \ @for a in $(inspect_files); do \
xsltproc --stringparam module $(MODULE) \ xsltproc --stringparam module $(MODULE) \
$(top_srcdir)/common/plugins.xsl $$a > xml/`basename $$a`; done $(top_srcdir)/common/plugins.xsl $$a > xml/`basename $$a`; done
@for f in $(EXAMPLE_CFILES); do \ @for f in $(EXAMPLE_CFILES); do \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment