X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/33e93cd5e9baef67448dca2607c31b3330951bb6..3200be56e5fc6c89115277f9f842a3f417f8d7db:/Makefile.PL diff --git a/Makefile.PL b/Makefile.PL index 4021a0a5d..462f7364d 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 @@ -42,36 +42,20 @@ extra_build: ikiwiki.out ikiwiki.setup docwiki ./mdwn2man ikiwiki-makerepo 1 doc/ikiwiki-makerepo.mdwn > ikiwiki-makerepo.man ./mdwn2man ikiwiki-transition 1 doc/ikiwiki-transition.mdwn > ikiwiki-transition.man ./mdwn2man ikiwiki-update-wikilist 1 doc/ikiwiki-update-wikilist.mdwn > ikiwiki-update-wikilist.man + ./mdwn2man ikiwiki-calendar 1 doc/ikiwiki-calendar.mdwn > ikiwiki-calendar.man $(MAKE) -C po + sed -i.bkp "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'/dev/null || \ - install -m 644 $$file po/$$file; \ - done - install -d po/underlays/directives/ikiwiki/directive - for file in doc/ikiwiki/directive/*; do \ - if [ -f "$$file" ]; then \ - cp -a $$file po/underlays/directives/ikiwiki/directive || \ - install -m 644 $$file po/underlays/directives/ikiwiki/directive; \ - fi \ - done - $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup underlaypo.setup -refresh - find po/underlays -name \*.mdwn | xargs rm -f - extra_clean: rm -rf html doc/.ikiwiki rm -f *.man ikiwiki.out ikiwiki.setup plugins/*.pyc $(MAKE) -C po clean - rm -rf po/html po/underlays/.ikiwiki -extra_install: +underlay_install: install -d $(DESTDIR)$(PREFIX)/share/ikiwiki for dir in `cd underlays && find . -follow -type d ! -regex '.*\.svn.*'`; do \ install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \ @@ -89,6 +73,7 @@ extra_install: fi \ done +extra_install: underlay_install # Install example sites. for dir in `cd doc/examples; find . -type d ! -regex '.*\.svn.*'`; do \ install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$dir; \ @@ -118,6 +103,7 @@ extra_install: install -m 644 ikiwiki-makerepo.man $(DESTDIR)$(PREFIX)/share/man/man1/ikiwiki-makerepo.1 install -m 644 ikiwiki-transition.man $(DESTDIR)$(PREFIX)/share/man/man1/ikiwiki-transition.1 install -m 644 ikiwiki-update-wikilist.man $(DESTDIR)$(PREFIX)/share/man/man1/ikiwiki-update-wikilist.1 + install -m 644 ikiwiki-calendar.man $(DESTDIR)$(PREFIX)/share/man/man1/ikiwiki-calendar.1 install -d $(DESTDIR)$(PREFIX)/share/man/man8 install -m 644 ikiwiki-mass-rebuild.man $(DESTDIR)$(PREFIX)/share/man/man8/ikiwiki-mass-rebuild.8 @@ -130,7 +116,7 @@ extra_install: install -d $(DESTDIR)$(PREFIX)/bin install ikiwiki.out $(DESTDIR)$(PREFIX)/bin/ikiwiki - install ikiwiki-makerepo ikiwiki-transition ikiwiki-update-wikilist $(DESTDIR)$(PREFIX)/bin/ + install ikiwiki-makerepo ikiwiki-transition ikiwiki-update-wikilist ikiwiki-calendar $(DESTDIR)$(PREFIX)/bin/ $(MAKE) -C po install DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) @@ -149,16 +135,16 @@ WriteMakefile( 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, - 'CGI::Session' => 0, - 'Mail::Sendmail' => 0, - 'HTML::Parser' => 0, - 'URI' => 0, - 'Data::Dumper' => 2.11, + 'XML::Simple' => "0", + 'Text::Markdown' => "0", + 'Date::Parse' => "0", + 'HTML::Template' => "0", + 'HTML::Scrubber' => "0", + 'CGI::FormBuilder' => "3.02.02", + 'CGI::Session' => "0", + 'Mail::Sendmail' => "0", + 'HTML::Parser' => "0", + 'URI' => "0", + 'Data::Dumper' => "2.11", }, );