summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShay Elkin <shay@everything.me>2013-03-24 14:01:19 +0200
committerShay Elkin <shay@everything.me>2013-03-24 14:45:10 +0200
commit054e3f379572f7c3fd859d16b8f5014b65030ae5 (patch)
tree77c21b1ac313af11efc1adf62f4e735eaaec28d5
parent925ec3751f3b407c17412b0fa04a84fe39c1e0b7 (diff)
Add missing require to Rakefile
Use bundle exec to make manpage Don't set executable bit on manpage
-rw-r--r--Makefile4
-rw-r--r--docs/Rakefile1
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 69e97c71..13e0762c 100644
--- a/Makefile
+++ b/Makefile
@@ -85,13 +85,13 @@ docs/content/2.download/source/jq.tgz: jq
tarball: docs/content/2.download/source/jq.tgz
jq.1: docs/content/3.manual/manual.yml
- ( cd docs; rake manpage; ) > $@
+ ( cd docs; bundle exec rake manpage; ) > $@
install: jq jq.1
install -d -m 0755 $(prefix)/bin
install -m 0755 jq $(prefix)/bin
install -d -m 0755 $(mandir)/man1
- install -m 0755 jq.1 $(mandir)/man1
+ install -m 0644 jq.1 $(mandir)/man1
uninstall:
rm -vf $(prefix)/bin/jq
diff --git a/docs/Rakefile b/docs/Rakefile
index a95c97fa..231f01b6 100644
--- a/docs/Rakefile
+++ b/docs/Rakefile
@@ -4,6 +4,7 @@ require 'maruku'
require 'json'
require 'ronn'
require 'tempfile'
+require 'yaml'
module ExtraFilters
def markdownify(input)