[gparted] Switch to conditional appending of SUBDIRS in top-level Makefile.am (#781978)



commit 4d6823a20a9c7481a815016024dc427cc33aa7c5
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sun Oct 16 11:33:06 2016 +0100

    Switch to conditional appending of SUBDIRS in top-level Makefile.am (#781978)
    
    rather than having two conditional complete definitions of SUBDIRS.
    
    Bug 781978 - Add Google Test C++ test framework

 Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 56d32c0..478cbf8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,8 @@
-# Only execute make in the help subdirectory if BUILD_HELP_DOC is set
-if BUILD_HELP_DOC
-SUBDIRS = help compose data doc include po src
-else
 SUBDIRS = compose data doc include po src
+# Only build GParted help documentation when enabled.  (Can be disabled
+# with './configure --disable-doc').
+if BUILD_HELP_DOC
+  SUBDIRS += help
 endif
 
 @INTLTOOL_DESKTOP_RULE@


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