mariadb/unittest/Makefile.am

28 lines
358 B
Text
Raw Normal View History

SUBDIRS = mytap . mysys examples
noinst_SCRIPTS = unit
EXTRA_DIST = unit.pl
DISTCLEANFILES = unit
unittests = mysys examples
.PHONY: all mytap mysys examples test
test: unit all
@./unit run $(unittests)
mytap:
cd mytap && $(MAKE)
mysys:
cd mysys && $(MAKE)
examples:
cd examples && $(MAKE)
unit: $(srcdir)/unit.pl
cp $< $@
chmod +x $@