lib/igt_kms: Clean up the other _name functions/macros
[platform/upstream/intel-gpu-tools.git] / autogen.sh
index 354f254..629a257 100755 (executable)
@@ -6,6 +6,13 @@ test -z "$srcdir" && srcdir=.
 ORIGDIR=`pwd`
 cd $srcdir
 
+if ! type gtkdocize > /dev/null 2>&1; then
+        echo "EXTRA_DIST =" > gtk-doc.make
+        echo "CLEANFILES =" >> gtk-doc.make
+else
+        gtkdocize || exit $?
+fi
+
 autoreconf -v --install || exit 1
 cd $ORIGDIR || exit $?