[librsvgmm] Improve build behavior with maintainer-mode off
- From: Daniel Elstner <daniel src gnome org>
- To: svn-commits-list gnome org
- Subject: [librsvgmm] Improve build behavior with maintainer-mode off
- Date: Sun, 14 Jun 2009 22:41:59 -0400 (EDT)
commit dab435981e0c542e814d11fdba79955c1efc353b
Author: Daniel Elstner <danielk openismus com>
Date: Mon Jun 15 04:17:35 2009 +0200
Improve build behavior with maintainer-mode off
* Makefile.am (SUBDIRS): Recurse into the tools and librsvg/src
subdirectories only when in maintainer-mode.
* tools/build_gmmproc.am (all-local): Remove maintainer-mode
conditional around this rule. This makes it easier to rebuild
sources even when maintainer-mode is disabled.
Makefile.am | 4 ++++
tools/build_gmmproc.am | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 399da6d..3550706 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,7 +18,11 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
DISTCHECK_CONFIGURE_FLAGS = --enable-warnings=fatal
+if MAINTAINER_MODE
SUBDIRS = tools librsvg/src librsvg/librsvgmm
+else
+SUBDIRS = librsvg/librsvgmm
+endif
dist_noinst_SCRIPTS = autogen.sh
diff --git a/tools/build_gmmproc.am b/tools/build_gmmproc.am
index 7e3955d..a9b66b6 100644
--- a/tools/build_gmmproc.am
+++ b/tools/build_gmmproc.am
@@ -55,9 +55,7 @@ $(gensrc_destdir)/wrap_init.cc: $(gen_wrap_init_path) $(files_hg_with_path)
create-stamp-dir:
@test -d "$(stamp_dir)" || mkdir "$(stamp_dir)"
-if MAINTAINER_MODE
all-local: create-stamp-dir $(files_stamp) $(gensrc_destdir)/wrap_init.cc
-endif
maintainer-clean-local:
rm -rf "$(stamp_dir)"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]