~ibid-core/ibid/trunk

« back to all changes in this revision

Viewing changes to man/Makefile

  • Committer: Tarmac
  • Author(s): Stefano Rivera
  • Date: 2012-07-31 09:51:02 UTC
  • mfrom: (1043.2.4 sphinxdoc-man)
  • Revision ID: tarmac-20120731095102-ok97by9518vw2bum
Move manpages into Sphinx docs
Author: Stefano Rivera
Merge Request: http://code.launchpad.net/~stefanor/ibid/sphinxdoc-man/+merge/88115
Approved by: Keegan Carruthers-Smith, Jonathan Hitchcock
Fixes LP: #

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
MANPAGES=$(patsubst %.md,%,$(wildcard *.md))
2
 
 
3
 
all: $(MANPAGES)
4
 
 
5
 
clean:
6
 
        rm -f $(MANPAGES)
7
 
 
8
 
%: %.md
9
 
# Incorrect escaping in code blocks:
10
 
# http://code.google.com/p/pandoc/issues/detail?id=223
11
 
        pandoc -s -t man $< | sed -e '/^[^.]/ s/\\"/"/g' > $@
12
 
 
13
 
.PHONY: all clean