split two helper functions of of render()
[ikiwiki.git] / Makefile.PL
index b2d027bc4d8843d592e395d82f3073783bbea510..3db5c0d4063fffb54d7fdabccc61cca6b4ec3cc1 100755 (executable)
@@ -58,9 +58,11 @@ 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
        find po/underlays -name \*.mdwn | xargs rm -f