No longer create useless directories

This commit is contained in:
Pierre Pronchery 2014-11-12 03:39:53 +01:00
parent 66d61fa3c4
commit 32e1ce4281

View File

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