chiark / gitweb /
bus: fix callback index when dispatching kernel messages
[elogind.git] / autogen.sh
index 86fe9b3785a27453e4808ed861aeff82a970005b..9869c156ae80f668a1edce627e4a6b5cd2930f63 100755 (executable)
@@ -25,7 +25,7 @@ if [ -f .git/hooks/pre-commit.sample ] && [ ! -f .git/hooks/pre-commit ]; then
 fi
 
 if which gtkdocize >/dev/null 2>/dev/null; then
-        gtkdocize --docdir docs/
+        gtkdocize --docdir docs/ --flavour no-tmpl
         gtkdocargs=--enable-gtk-doc
 else
         echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
@@ -56,6 +56,9 @@ fi
 if [ "x$1" = "xc" ]; then
         ./configure CFLAGS='-g -O0' $args
         make clean
+elif [ "x$1" = "xg" ]; then
+        ./configure CFLAGS='-g -Og' $args
+        make clean
 else
         echo
         echo "----------------------------------------------------------------"