]> granicus.if.org Git - curl/commitdiff
Only build in lib and src by default, make the others dist-subdirs.
authorDaniel Stenberg <daniel@haxx.se>
Tue, 27 May 2003 08:51:09 +0000 (08:51 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 27 May 2003 08:51:09 +0000 (08:51 +0000)
Make the test stuff get built when we run 'make test' instead.

Makefile.am

index c42cc25ef672f14884505fa3626c2595a64f8e45..f6c16f9a93fda29bcc66ac8014ce0dd8ac04ef7c 100644 (file)
@@ -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