SUBDIRS = mytap . mysys examples noinst_SCRIPTS = unit #EXTRA_DIST = unit.pl unittests = mytap mysys test: unit ./unit run $(unittests) unit: $(srcdir)/unit.pl cp $(srcdir)/unit.pl $@ chmod 700 $@