change PROFILE to use Devel::NYTProf

master
Joey Hess 2009-08-13 21:05:07 -04:00
parent 159c0c043c
commit fed73d8d92
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ PROBABLE_INST_LIB=$(shell \\
W3M_CGI_BIN?=$(PREFIX)/lib/w3m/cgi-bin
tflag=$(shell if [ -n "$$NOTAINT" ] && [ "$$NOTAINT" != 1 ]; then printf -- "-T"; fi)
extramodules=$(shell if [ "$$PROFILE" = 1 ]; then printf -- "-d:Profile"; fi)
extramodules=$(shell if [ "$$PROFILE" = 1 ]; then printf -- "-d:NYTProf"; fi)
ikiwiki.out: ikiwiki.in
./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out

2
README
View File

@ -8,7 +8,7 @@ available online at <http://ikiwiki.info/>
A few special variables you can set while using the Makefile:
PROFILE=1 turns on profiling for the build of the doc wiki.
(Uses Devel::Profile)
(Uses Devel::NYTProf)
NOTAINT=0 turns on the taint flag in the ikiwiki program. (Not recommended
unless your perl is less buggy than mine -- see