blob: 14ef9876ebb2a5ffe351ca5f9751c651390cce9f (
plain)
1
2
3
4
5
6
7
8
9
|
# write out our datadir so we can reference it at runtime
File.open("pkgconfig.rb", "w") {|f|
f.puts "module Irc"
f.puts " module PKGConfig"
f.puts " DATADIR = '#{config('datadir')}/rbot'"
f.puts " COREDIR = '#{config('rbdir')}/core'"
f.puts " end"
f.puts "end"
}
|