From 4915002168198ef749b55e6c5015c8830e4a07b3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 27 May 2003 08:51:09 +0000 Subject: [PATCH] Only build in lib and src by default, make the others dist-subdirs. Make the test stuff get built when we run 'make test' instead. --- Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index c42cc25ef..f6c16f9a9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,7 +9,8 @@ EXTRA_DIST = CHANGES COPYING maketgz SSLCERTS reconf Makefile.dist \ bin_SCRIPTS = curl-config -SUBDIRS = docs lib src include tests packages +SUBDIRS = lib src +DIST_SUBDIRS = $(SUBDIRS) tests include packages docs # create a root makefile in the distribution: dist-hook: @@ -25,10 +26,10 @@ pdf: check: test test: - @(cd tests; $(MAKE) quiet-test) + @(cd tests; $(MAKE) all quiet-test) test-full: - @(cd tests; $(MAKE) full-test) + @(cd tests; $(MAKE) all full-test) # # Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros