diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2012-11-17 21:05:42 +0100 |
---|---|---|
committer | Felipe Contreras <felipe.contreras@gmail.com> | 2012-11-17 21:07:10 +0100 |
commit | 54cdf5fe9116577071c8e464f46353df6ba761c1 (patch) | |
tree | 6bbb5021328b71578644a116ac34698b4a5dba6a /autogen.sh | |
parent | b0dd066bccc9bfabc3df290debc1d55dfb9596e5 (diff) |
Truly fix build without gtk-doc
The gtk-doc.m4 was not merged to 'master' but we don't need it. It's
better to generate it.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index f4ff2019d4..7cb335c541 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,9 @@ #!/bin/sh -type -p gtkdocize > /dev/null && gtkdocize --docdir docs +if type -p gtkdocize > /dev/null; then + gtkdocize --docdir docs +else + echo 'AC_DEFUN([GTK_DOC_CHECK], [AM_CONDITIONAL([ENABLE_GTK_DOC], [FALSE])])' > m4/gtk-doc.m4 +fi autoreconf -f -i |