Files @ 2d0a757c2136
Branch filter:

Location: C3L/Statutes/Makefile

Dennis Fink
Merged in the_metalgamer/statutes-changes/aga-2015 (pull request #2)

Aga 2015
MAINFILE = Satzung.rst
RST2ODT = rst2odt
RST2HTML = rst2html
ODTSTYLESHEET = ./Styles/styles.odt

ODTFIlE = Satzung.odt
HTMLFILE = Satzung.html

help:
	@echo "Please use \'make <target>' where <target> is on of"
	@echo "  html to make a HTML version"
	@echo "  odt  to make a ODT version"

clean:
	-rm -rf Satzung.odt Satzung.html

odt:
	$(RST2ODT) --stylesheet=$(ODTSTYLESHEET) --no-sections --strip-comments --smart-quotes=yes --create-links $(MAINFILE) ./ODT/$(ODTFIlE)
	@echo
	@echo "Build finished. The ODT file is named Satzung.odt"

html:
	$(RST2HTML) --smart-quotes=yes --no-compact-list --date $(MAINFILE) ./HTML/$(HTMLFILE)
	@echo
	@echo "Build finished. The HTML file is named Satzung.html"