diff options
Diffstat (limited to 'qi')
-rwxr-xr-x | qi | 96 |
1 files changed, 69 insertions, 27 deletions
@@ -67,69 +67,109 @@ module SiSUconf if options[:all] \ or options[:bin] exclude_files=['sisugem'] - Install.setup_find_create('bin',Project_details.dir.bin,exclude_files,act) \ - if File.directory?('bin') + Install.setup_find_create( + 'bin', + Project_details.dir.bin, + exclude_files, + act + ) if File.directory?('bin') end if options[:all] \ or options[:lib] - Install.setup_find_create('lib',Project_details.dir.lib,act) \ - if File.directory?('lib') + Install.setup_find_create( + 'lib', + Project_details.dir.lib, + act + ) if File.directory?('lib') end if options[:all] \ or options[:conf] - Install.setup_find_create('conf',Project_details.dir.conf,act) \ - if File.directory?('conf') + Install.setup_find_create( + 'conf', + Project_details.dir.conf, + act + ) if File.directory?('conf') end if options[:all] \ or options[:data] - Install.setup_find_create('data',Project_details.dir.data,act) \ - if File.directory?('data') + Install.setup_find_create( + 'data', + Project_details.dir.data, + act + ) if File.directory?('data') end if options[:all] \ or options[:share] - Install.setup_find_create('data/sisu',Project_details.dir.share,act) \ - if File.directory?('data/sisu') + Install.setup_find_create( + 'data/sisu', + Project_details.dir.share, + act + ) if File.directory?('data/sisu') end if options[:all] \ or options[:man] - Install.setup_find_create('man',Project_details.dir.man,act) \ - if File.directory?('man') + Install.setup_find_create( + 'man', + Project_details.dir.man, + act + ) if File.directory?('man') end if options[:all] \ or options[:vim] - Install.setup_find_create('data/vim',Project_details.dir.vim,act) \ - if File.directory?('data/vim') + Install.setup_find_create( + 'data/vim', + Project_details.dir.vim, + act + ) if File.directory?('data/vim') end else if options[:all] \ or options[:bin] - Install.setup_find_cp_r('bin',Project_details.dir.bin,act) \ - if File.directory?('bin') + Install.setup_find_cp_r( + 'bin', + Project_details.dir.bin, + act + ) if File.directory?('bin') end if options[:all] \ or options[:bin] - Install.setup_find_cp_r('lib',Project_details.dir.lib,act) \ - if File.directory?('lib') + Install.setup_find_cp_r( + 'lib', + Project_details.dir.lib, + act + ) if File.directory?('lib') end if options[:all] \ or options[:conf] - Install.setup_find_cp_r('conf',Project_details.dir.conf,act) \ - if File.directory?('conf') + Install.setup_find_cp_r( + 'conf', + Project_details.dir.conf, + act + ) if File.directory?('conf') end if options[:all] \ or options[:data] - Install.setup_find_cp_r('data',Project_details.dir.data,act) \ - if File.directory?('data') + Install.setup_find_cp_r( + 'data', + Project_details.dir.data, + act + ) if File.directory?('data') end if options[:all] \ or options[:share] - Install.setup_find_cp_r('data/sisu',Project_details.dir.share,act) \ - if File.directory?('data/sisu') # + Install.setup_find_cp_r( + 'data/sisu', + Project_details.dir.share, + act + ) if File.directory?('data/sisu') # end if options[:all] \ or options[:man] - Install.setup_find_cp_r('man',Project_details.dir.man,act) \ - if File.directory?('man') + Install.setup_find_cp_r( + 'man', + Project_details.dir.man, + act + ) if File.directory?('man') end #if options[:all] \ #or options[:vim] @@ -193,7 +233,9 @@ module SiSUconf end end desc 'pkg', - 'package maintenance tasks, of no general interest (maintainer specific for package maintainer\'s convenience)' + 'package maintenance tasks, ' \ + + 'of no general interest ' \ + + '(maintainer specific for package maintainer\'s convenience)' options \ :open_version=> :boolean, :version_and_tag_for_release=> :boolean, |