After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 66034 - problem with configure detecting installed gtk-doc
problem with configure detecting installed gtk-doc
Status: VERIFIED WONTFIX
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-12-03 11:34 UTC by Matthias Clasen
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2001-12-03 11:34:57 UTC
If e.g. glib's configure detects that I have gtk-doc installed, but 
the SGML environment is not set up correctly, "make install" fails
due to the docs not being created.

Here is a simple fix for gtkdoc-mkhtml which will move the error from
installation time to build time to hopefully make it easier to find
the problem.

As an added bonus, it prevents the creation of the stamp file so that
restarting the build after fixing the SGML env will actually correct
the error.

--- gtkdoc-mkhtml.in.orig       Mon Dec  3 11:28:33 2001
+++ gtkdoc-mkhtml.in    Mon Dec  3 11:28:52 2001
@@ -24,7 +24,7 @@
       rm -f index.sgml
 fi
 
-jade -t sgml -w no-idref -d $gtkdocdir/gtk-doc.dsl $gtkdocdir/gtk-doc.dcl $2
+jade -t sgml -w no-idref -d $gtkdocdir/gtk-doc.dsl $gtkdocdir/gtk-doc.dcl $2 || exit 1
 sed s%href=\"%href=\"$module/% < index.sgml > index.sgml.tmp && mv index.sgml.tmp index.sgml
 
 echo "timestamp" > ../html.stamp
Comment 1 Matthias Clasen 2002-03-11 08:43:14 UTC
I think this bug can be closed now that configure defaults to
--disable-gtk-doc