2008-10-17 05:23:30 +02:00
|
|
|
WEB_PATH = ~/Documents/rasterbar/web/products/libtorrent
|
|
|
|
DOCUTILS = ~/docutils
|
|
|
|
|
|
|
|
TARGETS = index.html \
|
|
|
|
udp_tracker_protocol.html \
|
|
|
|
projects.html \
|
|
|
|
client_test.html \
|
|
|
|
manual.html \
|
|
|
|
building.html \
|
|
|
|
features.html \
|
|
|
|
examples.html \
|
|
|
|
extension_protocol.html \
|
|
|
|
dht_extensions.html \
|
|
|
|
libtorrent_plugins.html
|
|
|
|
|
|
|
|
all: $(TARGETS)
|
|
|
|
|
|
|
|
%.pdf:%.tex
|
2008-10-17 09:07:31 +02:00
|
|
|
pdflatex $?
|
2008-10-17 05:23:30 +02:00
|
|
|
|
|
|
|
%.tex:%.rst
|
2008-10-17 09:07:31 +02:00
|
|
|
python $(DOCUTILS)/tools/rst2latex.py $? $@
|
2008-10-17 05:23:30 +02:00
|
|
|
|
|
|
|
%.html:%.rst
|
|
|
|
python $(DOCUTILS)/tools/rst2html.py --template=template.txt --stylesheet-path=style.css --link-stylesheet --no-toc-backlinks $? > $@
|
|
|
|
cp $@ $(WEB_PATH)/$@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(TARGETS) round_trip_distribution.log
|
|
|
|
|