aboutsummaryrefslogtreecommitdiff
blob: cba7bc8183da3f0c031fd095e0e754dfc64a2cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
HTML_SOURCES=developer_instructions
HTML_DOCS=$(HTML_SOURCES:=.html)

MAN_SOURCES=g-sorcery g-sorcery.cfg gs-elpa gs-pypi gs-ctan
MANS=$(MAN_SOURCES:=.8)

RST2HTML=rst2html.py
RST2MAN=rst2man.py

all: ${MANS} ${HTML_DOCS}

%.8: %.8.rst
	$(RST2MAN) $< $@

%.html: %.rst
	$(RST2HTML) $< $@