[xml/sgml-commit] [linuxdoc-tools] 10/12: doc/Makedoc.sh: Make sgml format a nop.
Agustín Martín Domingo
agmartin at moszumanska.debian.org
Thu Oct 8 17:28:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
agmartin pushed a commit to branch upstream
in repository linuxdoc-tools.
commit 4799a5f4352194e308bfbc2273b8c42f0dd1f2c0
Author: Agustin Martin Domingo <agmartin at debian.org>
Date: Thu Oct 8 16:51:32 2015 +0200
doc/Makedoc.sh: Make sgml format a nop.
Signed-off-by: Agustin Martin Domingo <agmartin at debian.org>
---
doc/Makedoc.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/doc/Makedoc.sh b/doc/Makedoc.sh
index 3871f6a..240542b 100644
--- a/doc/Makedoc.sh
+++ b/doc/Makedoc.sh
@@ -2,6 +2,12 @@
set -e
+# No need to build anything if only format is linuxdoc sgml
+if [ "${BUILDDOC_FORMATS}" = "sgml" ]; then
+ echo "Skip doc build. linuxdoc sgml is already present." >&2
+ exit
+fi
+
export TMPDIR=`mktemp -d ${TMPDIR:-/tmp}/ldt.XXXXXXXXXX`;
echo "-------- Building linuxdoc-tools docs ---------"
@@ -122,6 +128,9 @@ for docformat in ${BUILDDOC_FORMATS}; do
echo "- ++ Warning: latex not available, cannot build \"${docformat}\" format." >&2
fi
;;
+ sgml)
+ echo "- No need to build already present linuxdoc sgml." >&2
+ ;;
*)
echo "- ++ Warning: Ignoring unknown \"${docformat}\" format." >&2
esac
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/linuxdoc-tools.git
More information about the debian-xml-sgml-commit
mailing list