From 2d644219a19299027fc15f3efce253e98cde884a Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Wed, 9 Jul 2003 23:29:30 +0000 Subject: [PATCH] conditionally build docs Original commit message from CVS: conditionally build docs --- ChangeLog | 2 ++ Makefile.am | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) 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"`