]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
use empty underlay dirs when building po underlays
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 19 Jul 2009 22:06:41 +0000 (00:06 +0200)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 19 Jul 2009 22:06:41 +0000 (00:06 +0200)
Makefile.PL
underlaypo.setup

index 4021a0a5df6a49929272b3fc9a9180ac8eea5e6d..3db5c0d4063fffb54d7fdabccc61cca6b4ec3cc1 100755 (executable)
@@ -62,6 +62,7 @@ underlaypo: ikiwiki.out
                        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
 
index c0d503f49e1fa33da79b0ba979cf631fa600669c..cc8be38eac47e2dd1539e5993e87e9f08a52d534 100644 (file)
@@ -8,8 +8,8 @@ use IkiWiki::Setup::Standard {
        # will excessively bloat things.
         po_slave_languages => {
                #'fr' => 'Français',
-                #'es' => 'Español',
-                #'de' => 'Deutsch',
+               #'es' => 'Español',
+               #'de' => 'Deutsch',
         },
        po_master_language => { 'code' => 'en', 'name' => 'English' },
        po_translatable_pages => "*",
@@ -20,8 +20,8 @@ use IkiWiki::Setup::Standard {
        destdir => "po/html",
        templatedir => "templates",
        # we don't want to pull in the normal underlays
-       underlaydirbase => "po/underlays",
-       underlaydir => "po/underlays/basewiki",
+       underlaydirbase => "po/underlays/empty",
+       underlaydir => "po/underlays/empty",
        discussion => 0,
        locale => '',
        verbose => 1,