summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--bindings/python/Makefile.am10
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 <tmzullinger at users.sourceforge.net>
+
+ * 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 <jcsjcs at users.sourceforge.net>
* 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 $@ $<