diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2015-12-04 14:57:20 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2015-12-04 15:00:35 +0000 |
commit | f23090a615bf829c4e3554da3ef4a12266fb5477 (patch) | |
tree | 600ab55bda7432f5293f0dd82a35e3f1b9f61bd2 /autogen.sh | |
parent | 1647c85d6f841ea11ead214529f508c4ec69f966 (diff) | |
download | flatpak-f23090a615bf829c4e3554da3ef4a12266fb5477.tar.gz |
Generate the API reference for libxdg-app
We use the good old gtk-doc.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -24,6 +24,21 @@ fi # Workaround automake bug with subdir-objects and computed paths sed -e 's,$(libglnx_srcpath),'${srcdir}/libglnx,g < libglnx/Makefile-libglnx.am >libglnx/Makefile-libglnx.am.inc +GTKDOCIZE=$(which gtkdocize 2>/dev/null) +if test -z $GTKDOCIZE; then + echo "*** You don't have gtk-doc installed, and thus won't be able to generate the documentation. ***" + rm -f gtk-doc.make + cat > gtk-doc.make <<EOF +EXTRA_DIST = +CLEANFILES = +EOF +else + # gtkdocize needs the macro directory to exist before + # we call autoreconf + mkdir m4 + gtkdocize || exit $? +fi + autoreconf --force --install --verbose || exit $? cd "$olddir" |