explicitely remove gtk-doc.make if gtkdoc is not installed

This commit is contained in:
Tim Rühsen 2015-01-23 12:19:50 +01:00
parent c485ed9edd
commit 768790eab7
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ mkdir m4 2>/dev/null
GTKDOCIZE=`which gtkdocize 2>/dev/null`
if test $? -ne 0; then
echo "No gtk-doc support found. You can't build the docs."
# rm because gtk-doc.make might be a link to a protected file
rm -f gtk-doc.make 2>/dev/null
echo "EXTRA_DIST =" >gtk-doc.make
echo "CLEANFILES =" >>gtk-doc.make
GTKDOCIZE=""