diff options
author | unknown <jimw@mysql.com> | 2006-04-13 13:01:57 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2006-04-13 13:01:57 -0700 |
commit | 2231e997ff52140c9cf16c710ae2b2082fc70b91 (patch) | |
tree | c1e9f2b1d43080af258cb346f4df22c09ced3b56 /unittest/Makefile.am | |
parent | 80e88dc54c08d20172c90652710bb2b0259963d4 (diff) | |
download | mariadb-git-2231e997ff52140c9cf16c710ae2b2082fc70b91.tar.gz |
Fix 'make distcheck' problems with new unittest code, and a small
portability problem.
BitKeeper/etc/ignore:
Use a wildcard to ignore all unittest *.t files
unittest/Makefile.am:
Add unit to DISTCLEANFILES, and make sure to copy it from srcdir
unittest/examples/Makefile.am:
Use srcdir to find mytap header
unittest/mysys/Makefile.am:
Use srcdir to find mytap header
unittest/mytap/t/Makefile.am:
Use builddir for finding mytap library
unittest/mytap/tap.c:
Fix portability problem (declarations after code in C code)
Diffstat (limited to 'unittest/Makefile.am')
-rw-r--r-- | unittest/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unittest/Makefile.am b/unittest/Makefile.am index 8943e58170d..f6dfb41e4e1 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -2,6 +2,8 @@ SUBDIRS = mytap . mysys examples noinst_SCRIPTS = unit +DISTCLEANFILES = unit + unittests = mysys examples .PHONY: all mytap mysys examples test @@ -18,6 +20,6 @@ mysys: examples: cd examples && $(MAKE) -unit: unit.pl +unit: $(srcdir)/unit.pl cp $< $@ chmod +x $@ |