Enable building the translations

This commit is contained in:
Moritz Bunkus 2010-07-26 21:31:57 +02:00
parent b98b950386
commit fc5d41cad6

View File

@ -43,7 +43,10 @@ def define_default_task
targets += c(:MANPAGES_TRANSLATIONS).split(/\s+/).collect { |language| $manpages.collect { |manpage| manpage.gsub(/man\//, "man/#{language}/") } }.flatten if c?(:PO4A_WORKS)
end
task :default => [ targets, $translations_mos, $htmlhelpbooks ].flatten.compact
# Build translations for the programs
targets += c(:TRANSLATIONS).split(/\s+/).collect { |language| "po/#{language}.mo" }
task :default => [ targets, $htmlhelpbooks ].flatten.compact
end
# main