From 0b6f686b754df4a2c6617e92b9a23657e5e084b1 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 16 Apr 2001 16:34:15 +0000 Subject: [PATCH] More tweaks from GTK+. Reenable $(HTML_IMAGES) with shell portability Mon Apr 16 12:18:26 2001 Owen Taylor * {glib,gobject}/Makefile.am (tmpl-build.stamp): More tweaks from GTK+. Reenable $(HTML_IMAGES) with shell portability fixes. --- docs/reference/ChangeLog | 5 +++++ docs/reference/glib/Makefile.am | 15 ++++++++------- docs/reference/glib/tmpl/macros_misc.sgml | 1 - docs/reference/gobject/Makefile.am | 16 ++++++++-------- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 38003292..7742f91e 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 16 12:18:26 2001 Owen Taylor + + * {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 * gobject/Makefile.am: disabled "for i in $(HTML_IMAGES) ;" diff --git a/docs/reference/glib/Makefile.am b/docs/reference/glib/Makefile.am index d3019edb..92262203 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 994ffb73..a7768c73 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 va_list variables. - @ap1: the va_list variable to place a copy of @ap2 in. @ap2: a va_list. diff --git a/docs/reference/gobject/Makefile.am b/docs/reference/gobject/Makefile.am index 00e61fcc..c66b4ca3 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 -- 2.34.1