summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-21 13:21:47 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-21 13:21:47 -0700
commitf55b371517c30bdbb7f64b3a43710dd210ab7cab (patch)
treea02767ca78afbd904824fea8d8d3f104aa78ea4c
parentd92adf2bb89e54faa11ca2e2f0aad814c6098d58 (diff)
downloadlibyajl2-gem-f55b371517c30bdbb7f64b3a43710dd210ab7cab.tar.gz
use the build path not the pristine sources
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index af1e198..4288565 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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
#