problem with configure detecting installed gtk-doc

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.


PS I have also put this in

---       Mon Dec  3 11:28:33 2001
+++    Mon Dec  3 11:28:52 2001
@@ -24,7 +24,7 @@
       rm -f index.sgml

-jade -t sgml -w no-idref -d $gtkdocdir/gtk-doc.dsl $gtkdocdir/gtk-doc.dcl
+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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]