diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-21 13:21:47 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-21 13:21:47 -0700 |
commit | f55b371517c30bdbb7f64b3a43710dd210ab7cab (patch) | |
tree | a02767ca78afbd904824fea8d8d3f104aa78ea4c | |
parent | d92adf2bb89e54faa11ca2e2f0aad814c6098d58 (diff) | |
download | libyajl2-gem-f55b371517c30bdbb7f64b3a43710dd210ab7cab.tar.gz |
use the build path not the pristine sources
-rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -105,10 +105,10 @@ end desc "Deploy headers (for after compile)" task :headers do include_path = File.expand_path("../lib/libyajl2/vendored-libyajl2/include/yajl", __FILE__) - vendor_src_path = File.expand_path("../ext/libyajl2/vendor/yajl/src", __FILE__) + build_path = File.expand_path("../ext/libyajl2", __FILE__) FileUtils.mkdir_p(include_path) - FileUtils.cp Dir["#{vendor_src_path}/api/*.h"], include_path + FileUtils.cp Dir["#{build_path}/api/*.h"], include_path end # |