summaryrefslogtreecommitdiffstats
path: root/docs/Rakefile
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-09 20:27:12 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-09 20:35:19 +0100
commite6494857fc188f50808fcf64e4f43188a455f264 (patch)
tree6e6d3e68569692e5f2a3b225de5d7180a8d93bd3 /docs/Rakefile
parent12d2d4d1f53f7f1c6d53d0eb82672cdbd75a6df9 (diff)
Add some build instructions for how to install doc dependencies.
jq can now build without Ruby, but you won't get a nice manpage.
Diffstat (limited to 'docs/Rakefile')
-rw-r--r--docs/Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/Rakefile b/docs/Rakefile
index 356f7111..f8072072 100644
--- a/docs/Rakefile
+++ b/docs/Rakefile
@@ -120,6 +120,10 @@ task :manpage do
end
end
+task :manpage_default => ["default_manpage.md"] do
+ puts Ronn::Document.new("default_manpage.md").convert('roff').gsub(/<\/?code>/,"")
+end
+
task :mantests do
load_manual['sections'].each do |section|
(section['entries'] || []).each do |entry|
@@ -132,3 +136,4 @@ task :mantests do
end
end
end
+