diff options
Diffstat (limited to 'unittest/Makefile.am')
-rw-r--r-- | unittest/Makefile.am | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/unittest/Makefile.am b/unittest/Makefile.am index bfa9f40f8ce..dc778aada1c 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -1,27 +1,14 @@ SUBDIRS = mytap . mysys examples noinst_SCRIPTS = unit +#EXTRA_DIST = unit.pl -EXTRA_DIST = unit.pl +unittests = mytap mysys -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) +test: unit + ./unit run $(unittests) unit: $(srcdir)/unit.pl cp $(srcdir)/unit.pl $@ - chmod +x $@ + chmod 700 $@ + |