X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/a60e4ef4ee442540482c0821f4a96d65b98004bc..741c33576e358d555e623a49d42edd33924a19ab:/Makefile.PL diff --git a/Makefile.PL b/Makefile.PL index b00dcb66e..397627c03 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -58,17 +58,20 @@ underlaypo: ikiwiki.out 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 - find po/underlays -name \*.mdwn | xargs rm -f extra_install: install -d $(DESTDIR)$(PREFIX)/share/ikiwiki