]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - Makefile.PL
web commit by http://id.inelegant.org/
[git.ikiwiki.info.git] / Makefile.PL
index 9786a66cec26062e858ea113bc4c9a52a4a4666a..aaa334062cae220cdcd9f5a56491da6d4df634ff 100755 (executable)
@@ -24,7 +24,8 @@ PROBABLE_INST_LIB=$(shell \\
 )
 
 extra_build:
-       ./ikiwiki.in doc html --templatedir=templates --underlaydir=basewiki \
+       LANG=C ./ikiwiki.in doc html --templatedir=templates \
+               --underlaydir=basewiki \
                --wikiname="ikiwiki" --verbose --no-rcs \
                --exclude=/discussion --no-discussion --userdir=users \
                --plugin=goodstuff \
@@ -44,7 +45,7 @@ extra_install:
        $(CP) -a templates/* $(DESTDIR)$(PREFIX)/share/ikiwiki/templates
 
        install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/basewiki
-       $(CP) -a basewiki/* $(DESTDIR)$(PREFIX)/share/ikiwiki/basewiki
+       $(CP) -aL basewiki/* $(DESTDIR)$(PREFIX)/share/ikiwiki/basewiki
 
        install -d $(DESTDIR)$(PREFIX)/share/man/man1
        install -m 644 ikiwiki.man $(DESTDIR)$(PREFIX)/share/man/man1/ikiwiki.1
@@ -70,4 +71,17 @@ WriteMakefile(
        PREFIX          => "/usr/local",
        PM_FILTER       => './pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB)',
        MAN1PODS        => {},
+       PREREQ_PM       => {
+               'XML::Simple'           => 0,
+               'Text::Markdown'        => 0,
+               'Date::Parse'           => 0,
+               'HTML::Template'        => 0,
+               'HTML::Scrubber'        => 0,
+               'CGI::FormBuilder'      => 3.02.02,
+               'Time::Duration'        => 0,
+               'CGI::Session'          => 0,
+               'Mail::Sendmail'        => 0,
+               'HTML::Parser'          => 0,
+               'URI'                   => 0,
+       },
 );