summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-07-20 00:06:41 +0200
committerJoey Hess <joey@gnu.kitenet.net>2009-07-20 00:06:41 +0200
commit08254c722032a2cf67c3fb1a1681c977fb204355 (patch)
tree07b0a0ffeb522f9722c531f03778a9d53fbd2685
parenta7e5541c4d3f717811551d574af528236fa5f214 (diff)
use empty underlay dirs when building po underlays
-rwxr-xr-xMakefile.PL1
-rw-r--r--underlaypo.setup8
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,