More tweaks from GTK+. Reenable $(HTML_IMAGES) with shell portability
authorOwen Taylor <otaylor@redhat.com>
Mon, 16 Apr 2001 16:34:15 +0000 (16:34 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 16 Apr 2001 16:34:15 +0000 (16:34 +0000)
Mon Apr 16 12:18:26 2001  Owen Taylor  <otaylor@redhat.com>

        * {glib,gobject}/Makefile.am (tmpl-build.stamp): More tweaks
        from GTK+. Reenable $(HTML_IMAGES) with shell portability fixes.

docs/reference/ChangeLog
docs/reference/glib/Makefile.am
docs/reference/glib/tmpl/macros_misc.sgml
docs/reference/gobject/Makefile.am

index 3800329..7742f91 100644 (file)
@@ -1,3 +1,8 @@
+Mon Apr 16 12:18:26 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * {glib,gobject}/Makefile.am (tmpl-build.stamp): More tweaks
+       from GTK+. Reenable $(HTML_IMAGES) with shell portability fixes.
+
 Wed Apr  4 00:56:00 2001  Tim Janik  <timj@gtk.org>
 
        * gobject/Makefile.am: disabled "for i in $(HTML_IMAGES) ;"
index d3019ed..9226220 100644 (file)
@@ -88,14 +88,14 @@ all-local: html-build.stamp
 
 scan-build.stamp: $(HFILE_GLOB)
        @echo '*** Scanning header files ***'
-       cd $(srcdir) && ( \
-       if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null ; then \
-           CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj --module=$(DOC_MODULE) ; \
+       if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \
+           CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
        else \
+           cd $(srcdir) ; \
            for i in $(SCANOBJ_FILES) ; do \
                test -f $$i || touch $$i ; \
            done \
-       fi )
+       fi
        cd $(srcdir) && \
          gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
        touch scan-build.stamp
@@ -175,11 +175,12 @@ dist-hook: dist-check-gtkdoc dist-hook-local
        mkdir $(distdir)/html
        -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
        -cp $(srcdir)/sgml/*.sgml $(distdir)/sgml
-       -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
+       done
 
 .PHONY : dist-hook-local
index 994ffb7..a7768c7 100644 (file)
@@ -66,7 +66,6 @@ only one statement is expected by the compiler.
 Portable way to copy <type>va_list</type> variables.
 </para>
 
-<!-- # Unused Parameters # -->
 @ap1: the <type>va_list</type> variable to place a copy of @ap2 in.
 @ap2: a <type>va_list</type>.
 
index 00e61fc..c66b4ca 100644 (file)
@@ -78,14 +78,14 @@ all-local: html-build.stamp
 
 scan-build.stamp: $(HFILE_GLOB)
        @echo '*** Scanning header files ***'
-       cd $(srcdir) && ( \
-       if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null ; then \
-           CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj --module=$(DOC_MODULE) ; \
+       if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \
+           CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
        else \
+           cd $(srcdir) ; \
            for i in $(SCANOBJ_FILES) ; do \
                test -f $$i || touch $$i ; \
            done \
-       fi )
+       fi
        cd $(srcdir) && \
          gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
        touch scan-build.stamp
@@ -165,12 +165,12 @@ dist-hook: dist-check-gtkdoc dist-hook-local
        mkdir $(distdir)/html
        -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
        -cp $(srcdir)/sgml/*.sgml $(distdir)/sgml
-       -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          \
-#        cp $(srcdir)/$$i $(distdir)/html ;  \
-#        done
+       images=$(HTML_IMAGES) ;               \
+       for i in $$images ; do                \
+         cp $(srcdir)/$$i $(distdir)/html ;  \
+       done
 
 .PHONY : dist-hook-local