diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-13 18:44:04 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-13 18:44:04 +0200 |
commit | d76de5457508ee21d1564a8d24f43ccf6300392f (patch) | |
tree | 4dd0a4e4d30d62978158dde6361f6bc095f87adb /autogen.sh | |
parent | 6097ad583b89ad692e1d629088185a6728e34e5f (diff) |
build: import gtk-doc support
Remove the need to run `gtkdocize' when building from git; this should
be an operation done by the maintainer when modernizing the gtk-doc
setup (think of e.g. gettextize), no need to do it unconditionally.
This makes it easier for platforms without gtk-doc to build from git.
When trying to build with documentation enabled and gtk-doc isn't
found, we get some nice warnings and errors in the configure report:
checking for gtk-doc... no
configure: WARNING:
You will not be able to create source packages with 'make dist'
because gtk-doc >= 1.0 is not found.
checking for gtkdoc-check... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... yes
configure: error:
You must have gtk-doc >= 1.0 installed to build documentation for
ModemManager. Please install gtk-doc or disable building the
documentation by adding '--disable-gtk-doc' to './configure'.
Files generated with gtkdocize (gtk-doc) 1.26.1.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -14,7 +14,6 @@ PKG_NAME=libqmi } (cd $srcdir; - gtkdocize || exit 1 mkdir -p m4 touch ChangeLog autoreconf --force --install --verbose |