From 9fa8a5979d2e306c4395e645ab67c371b3a0fa46 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Wed, 11 Jul 2007 21:44:56 +0000 Subject: try to convert the xml docs into python docstrings even when ENABLE_GTK_DOC isn't set so that tarball builds can get the full documentation in python. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1631 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- ChangeLog | 7 +++++++ bindings/python/Makefile.am | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 300a346..ce20650 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-11 Todd Zullinger + + * bindings/python/Makefile.am: + try to convert the xml docs into python docstrings even when + ENABLE_GTK_DOC isn't set so that tarball builds can get the + full documentation in python. + 2007-07-07 Jorg Schuler * configure.ac diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am index ed12adc..fd3cc36 100644 --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -46,11 +46,11 @@ _gpod_la_LIBADD = $(LIBGPOD_LIBS) $(top_builddir)/src/libgpod.la gpod_doc.i: $(srcdir)/gpod_doc.i.in $(srcdir)/gtkdoc-to-swig.xsl cat $< > $@ -if ENABLE_GTK_DOC - -for xml in $(top_srcdir)/docs/reference/xml/*.xml; do \ - xsltproc $(srcdir)/gtkdoc-to-swig.xsl $$xml; \ - done >> $@ -endif + -if test -x `which xsltproc`; then \ + for xml in $(top_srcdir)/docs/reference/xml/*.xml; do \ + xsltproc $(srcdir)/gtkdoc-to-swig.xsl $$xml; \ + done >> $@; \ + fi gpod_wrap.c: $(SWIG_INTERFACES) $(nodist_gpod_PYTHON) $(SWIG) -python $(INCLUDES) -o $@ $< -- cgit