[Xfce4-commits] <exo:master> Abort dist if xml is not valid.
Nick Schermer
noreply at xfce.org
Sat Aug 28 12:48:01 CEST 2010
Updating branch refs/heads/master
to 0a56f6a50f1d604cd181830dc7cb5658e0904c1c (commit)
from e1ccd03ca52849b8a05599921b1890c6f032e1a3 (commit)
commit 0a56f6a50f1d604cd181830dc7cb5658e0904c1c
Author: Nick Schermer <nick at xfce.org>
Date: Sat Aug 28 12:47:16 2010 +0200
Abort dist if xml is not valid.
docs/manual/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/manual/Makefile.am b/docs/manual/Makefile.am
index 58cc6c8..5bb0692 100644
--- a/docs/manual/Makefile.am
+++ b/docs/manual/Makefile.am
@@ -20,7 +20,7 @@ install-data-local:
done; \
if test x"$$lang" != x"C" -a ! -d $(srcdir)/images/$$lang; then \
echo "--- Creating symlink to C images for $$lang"; \
- ln -sf $(docdir)/html/C/images $(DESTDIR)$(docdir)/html/$$lang/images; \
+ ln -sf $(docdir)/html/C/images $$dest/images; \
fi \
fi \
done;
@@ -72,7 +72,7 @@ doc-build.stamp: $(srcdir)/$(DOCUMENT) $(srcdir)/$(STYLESHEET)
-e "s,\@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g" \
-i xgen-doc; \
echo "Validating DocBook XML file"; \
- $(XMLLINT) --noout --valid xgen-doc; \
+ $(XMLLINT) --noout --valid xgen-doc || exit 1; \
echo "Creating the HTML pages"; \
$(XSLTPROC) --nonet -o $(srcdir)/html/$$lang/ $(srcdir)/$(STYLESHEET) xgen-doc; \
chmod -R u+w $(srcdir)/html/$$lang; \
More information about the Xfce4-commits
mailing list