]> sipb.mit.edu Git - ikiwiki.git/commitdiff
speed up incremental underlaypo runs
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 19 Jul 2009 20:46:53 +0000 (22:46 +0200)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 19 Jul 2009 20:46:53 +0000 (22:46 +0200)
Makefile.PL

index b2d027bc4d8843d592e395d82f3073783bbea510..4021a0a5df6a49929272b3fc9a9180ac8eea5e6d 100755 (executable)
@@ -58,6 +58,7 @@ underlaypo: ikiwiki.out
        install -d po/underlays/directives/ikiwiki/directive
        for file in doc/ikiwiki/directive/*; do \
                if [ -f "$$file" ]; then \
        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 -m 644 $$file po/underlays/directives/ikiwiki/directive; \
                fi \
        done