X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=7d427c61722a2209bbeb020c99d2bc07adbe401d;hb=refs%2Fheads%2Ftexticonv;hp=df174b82fef57881c5de12f59308b095ec0e1303;hpb=008bb980ec1425b13510bdb49b8fc15ccee63d83;p=debbugs.git diff --git a/Makefile b/Makefile index df174b8..7d427c6 100644 --- a/Makefile +++ b/Makefile @@ -31,9 +31,12 @@ build: $(PERL) Makefile.PL $(MAKE) -f Makefile.perl -test: build +test: $(PERL) -MTest::Harness -I. -e 'runtests(glob(q(t/*.t)))' +testcover: + PERLLIB=t/cover_lib/ cover -test + clean: if [ -e Makefile.perl ]; then \ $(MAKE) -f Makefile.perl clean; \ @@ -99,8 +102,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