Josh Holtrop fd054a07c4 implement install and uninstall operations - close #82
add "prefix" construction variable - close #99
add InstallDirectory builder - close #100
2019-04-23 22:01:09 -04:00

15 lines
467 B
Ruby

project_name "install_test"
build do
Environment.new do |env|
env["CPPPATH"] += glob("src/**")
env.Program("^/program.exe", glob("src/**/*.c"))
env.InstallDirectory("${prefix}/bin")
env.Install("${prefix}/bin", "^/program.exe")
env.InstallDirectory("${prefix}/share")
env.Install("${prefix}/share/proj/install.rb", "install.rb")
env.Install("${prefix}/mult", ["install.rb", "copy.rb"])
env.Install("${prefix}/src", "src")
end
end