$(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; \
$(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