commit 4125e32896659cbdca25769349e59e25cf12770c
parent 5d5a631b432bcff73927e22da1ee6f558dd26ac6
Author: Gaute Hope <eg@gaute.vetsj.com>
Date: Thu, 10 Apr 2014 15:57:43 +0200
manpage: use correct name
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Rakefile b/Rakefile
@@ -33,7 +33,7 @@ task :doc do
end
# test if wiki is cloned
- unless File.exist? 'doc/wiki/man/manpage.md'
+ unless Dir.exist? 'doc/wiki/man'
puts "wiki git repository is not cloned in doc/wiki, try: git submodule update --init."
return
end
@@ -44,7 +44,8 @@ task :doc do
SUP_MANPAGES.split.each do |m|
puts "generating manpage for: #{m}.."
- system "pandoc -s -f markdown -t man #{m} -o man/#{File.basename(m).gsub(".md","")}.1"
+ md = "doc/wiki/#{m}.md"
+ system "pandoc -s -f markdown -t man #{md} -o #{m}"
end
end
diff --git a/doc/wiki b/doc/wiki
@@ -1 +1 @@
-Subproject commit 2b86a6b4de2330f600b657c3c024ad115b984d77
+Subproject commit e7f1c551c33af358c6c5a3d37416725357fe0413