remove prototype from renamehook
[ikiwiki.git] / Makefile.PL
index b2d027bc4d8843d592e395d82f3073783bbea510..397627c030cc5899fa9d7594c17f2d4366f79be7 100755 (executable)
@@ -58,10 +58,13 @@ 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: