summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am8
-rw-r--r--src/Makefile.am6
2 files changed, 8 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index 06fdb1d09b..ef072d7587 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,13 @@
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-valgrind-tests
-SUBDIRS = gl lib extra po src doc tests
+SUBDIRS = gl lib extra po
+
+if NEED_LIBOPTS
+SUBDIRS += $(LIBOPTS_DIR)
+endif
+
+SUBDIRS += src doc tests
if HAVE_GUILE
SUBDIRS += guile
diff --git a/src/Makefile.am b/src/Makefile.am
index e26a567a44..d364e8f8cc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -17,12 +17,8 @@
# along with this file; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-SUBDIRS =
if ENABLE_CRYWRAP
-SUBDIRS += crywrap
-endif
-if NEED_LIBOPTS
-SUBDIRS += $(LIBOPTS_DIR)
+SUBDIRS = crywrap
endif
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)