On 9/8/07, David Nečas (Yeti) <yeti physics muni cz> wrote:
Following the gtk-devel discussion, if we want $SUBJ, things
concerning srcdir != builddir can be postponed IMO (it has
never worked properly anyway), and only the following should
be dealt with:
Here is one problem I found today while trying to do a gtk 2.12.0
release with
svn gtk-doc:
[...]
mkdir ../../../gtk+-2.12.0/docs/reference/gdk-pixbuf/tmpl
mkdir ../../../gtk+-2.12.0/docs/reference/gdk-pixbuf/xml
mkdir ../../../gtk+-2.12.0/docs/reference/gdk-pixbuf/html
cp ./tmpl/*.sgml ../../../gtk+-2.12.0/docs/reference/gdk-pixbuf/tmpl
cp ./xml/*.xml ../../../gtk+-2.12.0/docs/reference/gdk-pixbuf/xml
cp ./html/* ../../../gtk+-2.12.0/docs/reference/gdk-pixbuf/html
case "x --source-dir=../../../contrib/gdk-pixbuf-xlib
--deprecated-guards="GDK_PIXBUF_ENABLE_BROKEN|GDK_PIXBUF_DISABLE_DEPRECATED"
" in \
*' --rebuild-types '*) ;; \
*) cp ./gdk-pixbuf.types
../../../gtk+-2.12.0/docs/reference/gdk-pixbuf/;; \
esac
/bin/sh: -c: line 0: syntax error near unexpected token `|'
/bin/sh: -c: line 0: `case "x
--source-dir=../../../contrib/gdk-pixbuf-xlib
--deprecated-guards="GDK_PIXBUF_ENABLE_BROKEN|GDK_PIXBUF_DISABLE_DEPRECATED"
" in \'
make[4]: *** [dist-hook] Error 2
This comes from the following part of gtk-doc.make:
distclean-local:
cd $(srcdir) && \
rm -rf xml $(REPORT_FILES) \
$(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
case "x $(SCAN_OPTIONS) " in \
*' --rebuild-types '*) rm -f $(srcdir)/$(DOC_MODULE).types;; \
esac
case "x $(SCAN_OPTIONS) " in \
*' --rebuild-sections '*) rm -f
$(srcdir)/$(DOC_MODULE)-sections.txt;; \
esac
Any chance to make that work with existing uses of gtk-doc before
releasing 1.9 ?
_______________________________________________
gtk-doc-list mailing list
gtk-doc-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-doc-list