aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2001-09-12 22:31:36 +0000
committerRob Savoye <rob@welcomehome.org>2001-09-12 22:31:36 +0000
commit1f449230d7601cdfc87d9ccb8902cb327984abbe (patch)
tree1c020515e7037f98bc91ddb689b8ad4a7a5af7a9 /Makefile.am
parente77af0ef603a6cfd7c3c4c904b310ea94d40411a (diff)
downloaddejagnu-1f449230d7601cdfc87d9ccb8902cb327984abbe.zip
dejagnu-1f449230d7601cdfc87d9ccb8902cb327984abbe.tar.gz
dejagnu-1f449230d7601cdfc87d9ccb8902cb327984abbe.tar.bz2
* Makefile.am: Add a clean-local target, and nuke example and
testsuite from SUBDIRS, so they don't get built via "make all". * Makefile: All Makefiles regenerated. * debian/changelog: Update version for 1.4.2 release. * redhat/dejagnu.spec: Update version for 1.4.2 release.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index ef14ecf..10e66af 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@
AUTOMAKE_OPTIONS = dejagnu
# Install all the associated data files
-SUBDIRS = doc testsuite example
+SUBDIRS = doc # testsuite example
# Install the bourne shell script driver in the bindir
bin_SCRIPTS = runtest
@@ -26,7 +26,17 @@ RUNTEST = ` \
CLEANFILES = x.log x.sum site.bak setval.tmp
check-DEJAGNU:
- @echo "Do nothing here, cause we don't want to run the tests twice"
+ cd testsuite ; $(MAKE) check
+ cd example ; $(MAKE) check
+# @echo "Do nothing here, cause we don't want to run the tests twice"
+
+# Since we don't use SUBDIRS, we have to manually clean the sub directories.
+# We don't use SUBDIRS, so the excample or test cases don't get built
+# by default for a "make all".
+clean-local:
+ cd doc ; $(MAKE) clean
+ cd testsuite ; $(MAKE) clean
+ cd example ; $(MAKE) clean
# Set ourselves up to build a RedHat package
tarball: overview.html overview.ps overview.pdf