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 | |
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>
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | autogen.sh | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 9681eb5ab0..f5dc718088 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4 + +m4/gtk-doc.m4 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 |