From 054e3f379572f7c3fd859d16b8f5014b65030ae5 Mon Sep 17 00:00:00 2001 From: Shay Elkin Date: Sun, 24 Mar 2013 14:01:19 +0200 Subject: [PATCH] Add missing require to Rakefile Use bundle exec to make manpage Don't set executable bit on manpage --- Makefile | 4 ++-- docs/Rakefile | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 69e97c7..13e0762 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 a95c97f..231f01b 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) -- 2.40.0