No longer re-create the targets when installing

This commit is contained in:
Pierre Pronchery 2012-06-10 00:13:31 +00:00
parent 6f5f1054ae
commit 7b972c0743

View File

@ -112,6 +112,13 @@ while [ $# -gt 0 ]; do
continue
fi
#install
if [ "$install" -eq 1 ]; then
$DEBUG $MKDIR -- "$instdir" || exit 2
$DEBUG $INSTALL -- "$target" "$instdir/$target" || exit 2
continue
fi
#create
$DEBUG $XSLTPROC -o "$target" "$XSL" "$source"
#XXX ignore errors
@ -120,10 +127,4 @@ while [ $# -gt 0 ]; do
$RM -- "$target"
break
fi
#install
if [ "$install" -eq 1 ]; then
$DEBUG $MKDIR -- "$instdir" || exit 2
$DEBUG $INSTALL -- "$target" "$instdir/$target" || exit 2
fi
done