Newer version of the script upstream

This commit is contained in:
Pierre Pronchery 2014-11-12 21:19:25 +01:00
parent 23c8ba91fb
commit 0d7f9d5d78

View File

@ -151,8 +151,10 @@ while [ $# -gt 0 ]; do
;; ;;
gtkdoc/sgml.stamp) gtkdoc/sgml.stamp)
output="xml" output="xml"
[ -n "$OBJDIR" ] && output="${OBJDIR}gtkdoc/xml" if [ -n "$OBJDIR" ]; then
$DEBUG $MKDIR -- "$output" || exit 2 output="${OBJDIR}gtkdoc/xml"
$DEBUG $MKDIR -- "$output" || exit 2
fi
(cd "${OBJDIR}gtkdoc" && (cd "${OBJDIR}gtkdoc" &&
$DEBUG $GTKDOC_MKDB \ $DEBUG $GTKDOC_MKDB \
--module="$MODULE" \ --module="$MODULE" \
@ -162,8 +164,10 @@ while [ $# -gt 0 ]; do
;; ;;
gtkdoc/tmpl.stamp) gtkdoc/tmpl.stamp)
output="tmpl" output="tmpl"
[ -n "$OBJDIR" ] && output="${OBJDIR}gtkdoc/tmpl" if [ -n "$OBJDIR" ]; then
$DEBUG $MKDIR -- "$output" || exit 2 output="${OBJDIR}gtkdoc/tmpl"
$DEBUG $MKDIR -- "$output" || exit 2
fi
(cd "${OBJDIR}gtkdoc" && (cd "${OBJDIR}gtkdoc" &&
$DEBUG $GTKDOC_MKTMPL \ $DEBUG $GTKDOC_MKTMPL \
--module="$MODULE" \ --module="$MODULE" \