[gnome-games] build: Only add help to SUBDIRS when building help is enabled



commit 1c959178f4af9e6c1a6c727dbe68a061fd46a872
Author: Christian Persch <chpe gnome org>
Date:   Tue Jul 7 17:13:39 2009 +0200

    build: Only add help to SUBDIRS when building help is enabled

 blackjack/Makefile.am  |    6 +++++-
 glines/Makefile.am     |    8 ++++++--
 gnect/Makefile.am      |    6 +++++-
 gnibbles/Makefile.am   |    9 ++++++---
 gnobots2/Makefile.am   |    8 ++++++--
 gnometris/Makefile.am  |    6 +++++-
 gnomine/Makefile.am    |    6 +++++-
 gnotravex/Makefile.am  |    8 ++++++--
 gnotski/Makefile.am    |    6 +++++-
 gtali/Makefile.am      |    6 +++++-
 iagno/Makefile.am      |    6 +++++-
 mahjongg/Makefile.am   |    6 +++++-
 same-gnome/Makefile.am |    6 +++++-
 13 files changed, 69 insertions(+), 18 deletions(-)
---
diff --git a/blackjack/Makefile.am b/blackjack/Makefile.am
index d9bc05c..33b990e 100644
--- a/blackjack/Makefile.am
+++ b/blackjack/Makefile.am
@@ -1 +1,5 @@
-SUBDIRS = src data pixmaps help
+SUBDIRS = src data pixmaps
+
+if BUILD_HELP
+SUBDIRS += help
+endif
diff --git a/glines/Makefile.am b/glines/Makefile.am
index 6fb9542..121e1a8 100644
--- a/glines/Makefile.am
+++ b/glines/Makefile.am
@@ -1,6 +1,10 @@
-NULL =
+SUBDIRS =
+
+if BUILD_HELP
+SUBDIRS += help
+endif
 
-SUBDIRS = help
+NULL =
 
 pixmapdir = $(pkgdatadir)/glines/pixmaps
 pixmap_DATA = \
diff --git a/gnect/Makefile.am b/gnect/Makefile.am
index d9bc05c..33b990e 100644
--- a/gnect/Makefile.am
+++ b/gnect/Makefile.am
@@ -1 +1,5 @@
-SUBDIRS = src data pixmaps help
+SUBDIRS = src data pixmaps
+
+if BUILD_HELP
+SUBDIRS += help
+endif
diff --git a/gnibbles/Makefile.am b/gnibbles/Makefile.am
index c75def3..386b126 100644
--- a/gnibbles/Makefile.am
+++ b/gnibbles/Makefile.am
@@ -1,3 +1,9 @@
+SUBDIRS = pix
+
+if BUILD_HELP
+SUBDIRS += help
+endif
+
 NULL =
 
 bin_PROGRAMS = gnibbles
@@ -155,9 +161,6 @@ EXTRA_DIST = \
 	gnibbles-server.dsc.in \
 	gnibbles.room.in
 
-SUBDIRS= help pix
-
-
 CLEANFILES = \
 	$(ggzroom_DATA) \
 	$(ggzserver_dsc_in_files:.dsc.in=.dsc) \
diff --git a/gnobots2/Makefile.am b/gnobots2/Makefile.am
index 377ad20..5242303 100644
--- a/gnobots2/Makefile.am
+++ b/gnobots2/Makefile.am
@@ -1,10 +1,14 @@
+SUBDIRS =
+
+if BUILD_HELP
+SUBDIRS += help
+endif
+
 schemadir   = @GCONF_SCHEMA_FILE_DIR@
 schema_in_files = gnobots2.schemas.in
 schema_DATA = $(schema_in_files:.schemas.in=.schemas)
 @INTLTOOL_SCHEMAS_RULE@
 
-SUBDIRS = help
-
 bin_PROGRAMS = gnobots2
 
 gnobots2_SOURCES = \
diff --git a/gnometris/Makefile.am b/gnometris/Makefile.am
index 2d19300..eabdb60 100644
--- a/gnometris/Makefile.am
+++ b/gnometris/Makefile.am
@@ -1,4 +1,8 @@
-SUBDIRS = pix help
+SUBDIRS = pix
+
+if BUILD_HELP
+SUBDIRS += help
+endif
 
 bin_PROGRAMS=gnometris
 
diff --git a/gnomine/Makefile.am b/gnomine/Makefile.am
index d11ce97..ef6292c 100644
--- a/gnomine/Makefile.am
+++ b/gnomine/Makefile.am
@@ -1,4 +1,8 @@
-SUBDIRS = help
+SUBDIRS =
+
+if BUILD_HELP
+SUBDIRS += help
+endif
 
 bin_PROGRAMS = gnomine
 
diff --git a/gnotravex/Makefile.am b/gnotravex/Makefile.am
index 865f11c..7532886 100644
--- a/gnotravex/Makefile.am
+++ b/gnotravex/Makefile.am
@@ -1,6 +1,10 @@
-NULL =
+SUBDIRS = pixmaps
+
+if BUILD_HELP
+SUBDIRS += help
+endif
 
-SUBDIRS = help pixmaps
+NULL =
 
 bin_PROGRAMS = gnotravex
 
diff --git a/gnotski/Makefile.am b/gnotski/Makefile.am
index 08efd17..90930fb 100644
--- a/gnotski/Makefile.am
+++ b/gnotski/Makefile.am
@@ -1,4 +1,8 @@
-SUBDIRS = help
+SUBDIRS =
+
+if BUILD_HELP
+SUBDIRS += help
+endif
 
 NULL =
 
diff --git a/gtali/Makefile.am b/gtali/Makefile.am
index ca0ae91..ac1dbd5 100644
--- a/gtali/Makefile.am
+++ b/gtali/Makefile.am
@@ -1,4 +1,8 @@
-SUBDIRS = pix help
+SUBDIRS = pix
+
+if BUILD_HELP
+SUBDIRS += help
+endif
 
 bin_PROGRAMS = gtali
 
diff --git a/iagno/Makefile.am b/iagno/Makefile.am
index 0a565d3..bd475be 100644
--- a/iagno/Makefile.am
+++ b/iagno/Makefile.am
@@ -1,4 +1,8 @@
-SUBDIRS = help
+SUBDIRS =
+
+if BUILD_HELP
+SUBDIRS += help
+endif
 
 NULL =
 
diff --git a/mahjongg/Makefile.am b/mahjongg/Makefile.am
index 8da5b46..622d8c6 100644
--- a/mahjongg/Makefile.am
+++ b/mahjongg/Makefile.am
@@ -1,4 +1,8 @@
-SUBDIRS = help
+SUBDIRS =
+
+if BUILD_HELP
+SUBDIRS += help
+endif
 
 NULL =
 
diff --git a/same-gnome/Makefile.am b/same-gnome/Makefile.am
index e147957..1e0081c 100644
--- a/same-gnome/Makefile.am
+++ b/same-gnome/Makefile.am
@@ -1,4 +1,8 @@
-SUBDIRS = help
+SUBDIRS =
+
+if BUILD_HELP
+SUBDIRS += help
+endif
 
 NULL =
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]