From 08254c722032a2cf67c3fb1a1681c977fb204355 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Jul 2009 00:06:41 +0200 Subject: [PATCH] use empty underlay dirs when building po underlays --- Makefile.PL | 1 + underlaypo.setup | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 4021a0a5d..3db5c0d40 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 diff --git a/underlaypo.setup b/underlaypo.setup index c0d503f49..cc8be38ea 100644 --- a/underlaypo.setup +++ b/underlaypo.setup @@ -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, -- 2.26.2