diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-04-16 16:34:15 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-04-16 16:34:15 +0000 |
commit | 0b6f686b754df4a2c6617e92b9a23657e5e084b1 (patch) | |
tree | 3d5b7addcae2381dad0c64987071a00379b54d4e | |
parent | 988dd884957a4334416a717d01d4c3d14eb8ceaf (diff) |
More tweaks from GTK+. Reenable $(HTML_IMAGES) with shell portability
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.
-rw-r--r-- | docs/reference/ChangeLog | 5 | ||||
-rw-r--r-- | docs/reference/glib/Makefile.am | 15 | ||||
-rw-r--r-- | docs/reference/glib/tmpl/macros_misc.sgml | 1 | ||||
-rw-r--r-- | docs/reference/gobject/Makefile.am | 16 |
4 files changed, 21 insertions, 16 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 380032927..7742f91e8 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -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) ;" diff --git a/docs/reference/glib/Makefile.am b/docs/reference/glib/Makefile.am index d3019edb3..92262203f 100644 --- a/docs/reference/glib/Makefile.am +++ b/docs/reference/glib/Makefile.am @@ -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 diff --git a/docs/reference/glib/tmpl/macros_misc.sgml b/docs/reference/glib/tmpl/macros_misc.sgml index 994ffb730..a7768c733 100644 --- a/docs/reference/glib/tmpl/macros_misc.sgml +++ b/docs/reference/glib/tmpl/macros_misc.sgml @@ -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>. diff --git a/docs/reference/gobject/Makefile.am b/docs/reference/gobject/Makefile.am index 00e61fcc6..c66b4ca34 100644 --- a/docs/reference/gobject/Makefile.am +++ b/docs/reference/gobject/Makefile.am @@ -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 |