Makefile: write the manpage to the right file and use the processed markdown document
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 13 May 2014 12:37:05 +0000 (14:37 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 13 May 2014 12:37:05 +0000 (14:37 +0200)
Makefile

index cce55b2ea5e4d843d7d233a7200d3f58e1eed04a..a8278586129034fc5dc1bd2a9bbcfd0ff15ea8d9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,7 @@ README.txt: README.md
 
 youtube-dl.1: README.md
        python devscripts/prepare_manpage.py >youtube-dl.1.temp.md
-       pandoc -s -f markdown -t man README.md -o youtube-dl.1.temp.md
+       pandoc -s -f markdown -t man youtube-dl.1.temp.md -o youtube-dl.1
        rm -f youtube-dl.1.temp.md
 
 youtube-dl.bash-completion: youtube_dl/*.py youtube_dl/*/*.py devscripts/bash-completion.in