#!/bin/sh
### autogen.sh with sensible comments ###############################
-### CREATE MACRO DIRECTORY ##########################################
-# Needed by Gtk-doc
-mkdir -p m4
-
### GTK-DOC #########################################################
# Run before autotools
echo "Setting up Gtk-Doc"
-gtkdocize --flavour no-tmpl || exit 1
+gtkdocize --copy --flavour no-tmpl || exit 1
### AUTOTOOLS #######################################################
# Runs autoconf, autoheader, aclocal, automake, autopoint, libtoolize
echo "Regenerating autotools files"
-autoreconf --install --symlink || exit 1
+autoreconf --force --install || exit 1
### INTLTOOL ########################################################
# Run after autopoint
echo "Setting up Intltool"
intltoolize --copy --force --automake || exit 1
+