diff --git a/ChangeLog b/ChangeLog index c330ca9780..f5a135233f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ * configure.ac: check for xmlcatalog for docs build (probably not strictly needed for general use but fixes non-srcdir builds) + * Makefile.am: conditionally build docs + 2003-06-26 David I. Lehn * configure.ac, AUTHORS, NEWS, README, TODO, docs/Makefile.am, diff --git a/Makefile.am b/Makefile.am index fd2caad913..4f576b9094 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,17 @@ -SUBDIRS = gstreamer pkgconfig examples docs +if BUILD_DOCS +SUBDIRS_DOCS = docs +else +SUBDIRS_DOCS = +endif + +SUBDIRS = gstreamer pkgconfig examples $(SUBDIRS_DOCS) + +DIST_SUBDIRS = gstreamer pkgconfig examples docs EXTRA_DIST = \ gst-python.spec.in gst-python.spec +CLEANFILES = README NEWS TODO AUTHORS + snap: $(MAKE) dist distdir=$(PACKAGE)-`date +"%Y%m%d"`