aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/develop/se_file_op.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-01-13 17:04:45 -0500
committerRalph Amissah <ralph@amissah.com>2015-01-19 23:46:16 -0500
commit6ae231652eab49b41d3209960095a67dbd927822 (patch)
treeb0bd56a6397e9f1a95a91a5c60d5d4e39ee68481 /lib/sisu/develop/se_file_op.rb
parentbin/sisu-misc-utils + c&d: lib sisu_thor_lib currently only po4a (diff)
d: po4a, provide po4a.cfg file
Diffstat (limited to 'lib/sisu/develop/se_file_op.rb')
-rw-r--r--lib/sisu/develop/se_file_op.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/sisu/develop/se_file_op.rb b/lib/sisu/develop/se_file_op.rb
index 22a6f778..6b134635 100644
--- a/lib/sisu/develop/se_file_op.rb
+++ b/lib/sisu/develop/se_file_op.rb
@@ -462,6 +462,12 @@ module SiSU_File_Op
fn=base_filename.manifest_txt
make_file(path,fn)
end
+ def po4a_cfg
+ path=output_path.po4a.dir
+ make_path(path)
+ fn=base_filename.po4a_cfg
+ make_file(path,fn)
+ end
def pot
path=output_path.pot.dir
make_path(path)
@@ -1446,6 +1452,9 @@ module SiSU_File_Op
def src
@md.fno
end
+ def po4a_cfg
+ 'po4a.cfg'
+ end
def po #check
(@fno.empty?) \
? (@md.fn[:po])
@@ -1747,6 +1756,21 @@ module SiSU_File_Op
end
self
end
+ def po4a
+ def dir
+ output_path.base.dir + '/' \
+ + Gt[:src] + '/' \
+ + @md.opt.fng + '/po4a'
+ end
+ def url
+ output_path.base.url + '/po4a/' \
+ + @md.fnb
+ end
+ def rcp
+ #p "#{output_path.base.dir}/po4a/#{@md.fnb}"
+ end
+ self
+ end
def po(lng=@md.opt.lng)
@lng=lng
def dir