1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
# this is normal Makefile, _not_ generated by autotools
SPHINX = sphinx-build -a -d ./doctrees/
html: *.rst fitheme/* fitheme/static/* conf.py help-message.txt
$(SPHINX) -b html . html
rm -f html/objects.inv html/.buildinfo
fityk-banner.pdf: fityk-banner.svg
inkscape --export-text-to-path --export-pdf=$@ $<
pdf:
rm -rf doctrees/
$(SPHINX) -b latex . latex
cd latex/ && make all-pdf
website:
rm -rf web
BUILD_WEBSITE=1 $(SPHINX) -b html -Awebsite=1 . web
cp screenshots/fityk-1.0.1-osx-so.png web/_images/
rm -f web/objects.inv web/.buildinfo
sed -i 's/— Fityk ..... manual//' web/index.html web/screens.html
.PHONY: pdf website
|