wiki build using Devel::Profiler (Dprof can't handle ikiwiki).
fi \\
)
-tflag=$(shell if [ ! "$$NOTAINT" ]; then printf -- "-T"; fi)
+tflag=$(shell if [ "$$NOTAINT" != 0 ]; then printf -- "-T"; fi)
+extramodules=$(shell if [ "$$PROFILE" = 1 ]; then printf -- "-MDevel::Profiler"; fi)
extra_build:
./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out
chmod +x ikiwiki.out
- LANG=C perl -I. $(tflag) ikiwiki.out doc html --templatedir=templates \
+ LANG=C perl -I. $(extramodules) $(tflag) ikiwiki.out doc html --templatedir=templates \
--underlaydir=basewiki \
--wikiname="ikiwiki" --verbose \
--exclude=/discussion --no-discussion --userdir=users \
./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man
./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man
$(MAKE) -C po
+ if [ "$$PROFILE" = 1 ]; then dprofpp; fi
extra_clean:
rm -rf html doc/.ikiwiki
- rm -f ikiwiki.man ikiwiki-mass-rebuild.man ikiwiki.out
+ rm -f ikiwiki.man ikiwiki-mass-rebuild.man ikiwiki.out tmon.out
$(MAKE) -C po clean
extra_install:
information about available preprocessor directives.
* Add myself as a co-maintainer, with Joey's approval.
- -- Josh Triplett <josh@freedesktop.org> Mon, 09 Apr 2007 16:35:18 -0700
+ [ Joey Hess ]
+ * Add support for PROFILE=1 to the Makefile, this turns on profiling of the
+ wiki build using Devel::Profiler (Dprof can't handle ikiwiki).
+
+ -- Joey Hess <joeyh@debian.org> Mon, 09 Apr 2007 20:22:44 -0400
ikiwiki (1.49) unstable; urgency=low
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-04-09 01:55-0700\n"
+"POT-Creation-Date: 2007-04-09 20:10-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"