-
Karl-Hermann Wieners authoredKarl-Hermann Wieners authored
Makefile 421 B
prefix = /usr/local
PYTHON = python
all:
clean:
$(RM) -r build dist MANIFEST *.pyc __pycache__
distclean: clean
$(RM) doc/*.pdf
doc: doc/mkexp.pdf
check:
PYTHON=$(PYTHON) $(PYTHON) test.py -v
dist: doc
$(PYTHON) setup.py sdist
install: doc
$(PYTHON) setup.py install --prefix=$(prefix)
.PHONY: all clean distclean doc check dist install
%.pdf: %.fodt
soffice --headless --convert-to pdf --outdir $(@D) $<