1 # This makefile is used only for generating a code coverage database for
2 # the regression suite and should not be needed for ordinary users of the
3 # Text::Restructured package
5 SOURCES
:= $(shell find ..
/blib
-type f
-and
-not
-name
'.*')
6 PERL
:= $(shell perl
-I..
/blib
/lib
-e
'use Text::Restructured::PrestConfig; print "$$Text::Restructured::PrestConfig::SAFE_PERL\n"')
7 COVER
= $(shell which cover
)
13 cover_db
/runs
: $(SOURCES
)
14 -rm -rf cover_db
/runs cover_db
/structure
15 env COVER
=1 MAKELEVEL
= make
-C ..
test
17 .PHONY
: cover cover_only