Bugs in Documentation Makefile.



Hi,

There are two bugs in Makefile.am for the docs, as for example in
glib/docs/reference/gobject/Makefile.am, that prevents make dist from working.

The first one is that make does not know how to make the gobject.types file
(in general it is $(DOC_MODULE).types), but it is a dependency.

The second is that, if HTML_IMAGES is empty as in gobject, make dist bails.
The fix for that is easy:

Index: docs/reference/gobject/Makefile.am
===================================================================
RCS file: /cvs/gnome/glib/docs/reference/gobject/Makefile.am,v
retrieving revision 1.13
diff -u -b -B -r1.13 Makefile.am
--- docs/reference/gobject/Makefile.am  2001/03/17 22:51:41     1.13
+++ docs/reference/gobject/Makefile.am  2001/04/03 08:53:20
@@ -168,7 +168,7 @@
        -cp $(srcdir)/sgml/*.bottom $(srcdir)/sgml/*.top $(distdir)/sgml
        -cp $(srcdir)/html/index.sgml $(distdir)/html
        -cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html
-       for i in $(HTML_IMAGES) ; do          \
+       images='$(HTML_IMAGES)'; for i in $$images; do  \
          cp $(srcdir)/$$i $(distdir)/html ;  \
         done

the reason I didn't commit this is that this change probably has to go to the
other documentation makefiles as well, but I don't know, whether there are
special tools you use to propagate such changes to all such files.

Bye,
Sebastian
-- 
Sebastian Wilhelmi
mailto:wilhelmi ira uka de
http://goethe.ira.uka.de/~wilhelmi




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