X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=587670406b9eb7578055036259ac1741152e58e5;hb=refs%2Fheads%2Fdon%2Ffix_encoding;hp=da8de6085d0c1fc8611bdd633d77350c9d003bd0;hpb=428aeea32c686fa2227dd113242d263afba12b8a;p=debbugs.git diff --git a/Makefile b/Makefile index da8de60..5876704 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,9 @@ build: test: $(PERL) -MTest::Harness -I. -e 'runtests(glob(q(t/*.t)))' +test_%: t/%.t + $(PERL) -MTest::Harness -I. -e 'runtests(q($<))' + testcover: PERLLIB=t/cover_lib/ cover -test @@ -102,8 +105,8 @@ $(var_dir)/spool/db-h $(scripts_dir) $(examples_dir) $(man8_dir); \ $(install_data) misc/updateseqs $(var_dir)/spool # install the templates - $(foreach dir, $(wildcard templates/*/*), $(exec -d $(install_exec) $(template_dir)/$(patsubst templates/%,%,$(dir)))) - $(foreach tmpl, $(wildcard templates/*/*/*.tmpl), $(exec $(install_data) $(tmpl) $(template_dir)/$(patsubst templates/%,%,$(tmpl)))) + $(foreach dir, $(wildcard templates/*/*), $(install_exec) -d $(templates_dir)/$(patsubst templates/%,%,$(dir));) + $(foreach tmpl, $(wildcard templates/*/*/*.tmpl), $(install_data) $(tmpl) $(templates_dir)/$(patsubst templates/%,%,$(tmpl));) -.PHONY: test build \ No newline at end of file +.PHONY: test build