Changeset - 7764b5ffa384
[Not reviewed]
default
0 0 2
Dennis Fink - 10 years ago 2014-07-13 04:36:06
dennis.fink@c3l.lu
Added makefile and styles to generate easily odt and html files
2 files changed with 22 insertions and 0 deletions:
Styles/styles.odt
bin+new file
0 comments (0 inline, 0 general)
Makefile
Show inline comments
 
new file 100644
 
MAINFILE = Satzung.rst
 
RST2ODT = rst2odt
 
RST2HTML = rst2html
 
ODTSTYLESHEET = ./Styles/styles.odt
 

	
 
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 --smart-quotes=yes --create-links $(MAINFILE) Satzung.odt
 
	@echo
 
	@echo "Build finished. The ODT file is named Satzung.odt"
 

	
 
html:
 
	$(RST2HTML) --smart-quotes=yes --no-compact-list $(MAINFILE) Satzung.html
 
	@echo
 
	@echo "Build finished. The HTML file is named Satzung.html"
Styles/styles.odt
Show inline comments
 
new file 100644
 
binary diff not shown
0 comments (0 inline, 0 general)