X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/741c33576e358d555e623a49d42edd33924a19ab..5efda4da294e37a98b04561f475b186ae8c64138:/Makefile.PL diff --git a/Makefile.PL b/Makefile.PL index 397627c03..c615009bb 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -47,33 +47,12 @@ extra_build: ikiwiki.out ikiwiki.setup docwiki docwiki: ikiwiki.out $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh -underlaypo: ikiwiki.out - # copy all the files we want to translate into the - # po/underlays scrdir. - for file in `find underlays -follow -name \*.mdwn`; do \ - install -d po/$$(dirname $$file); \ - cp -aL $$file po/$$file 2>/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 - install -d po/underlays/empty - $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup underlaypo.setup -refresh - PERL5LIB=. po/po2wiki underlaypo.setup - 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; \ @@ -91,6 +70,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; \