Changeset - 6c6f821bb7a2
[Not reviewed]
default
0 1 0
Dennis Fink - 10 years ago 2014-07-16 00:25:15
dennis.fink@c3l.lu
Be able to override Outputfiles in Makefile
1 file changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
Makefile
Show inline comments
 
@@ -3,6 +3,9 @@ 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"
 
@@ -12,11 +15,11 @@ clean:
 
	-rm -rf Satzung.odt Satzung.html
 

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

	
 
html:
 
	$(RST2HTML) --smart-quotes=yes --no-compact-list $(MAINFILE) Satzung.html
 
	$(RST2HTML) --smart-quotes=yes --no-compact-list $(MAINFILE) $(MAINFILE)
 
	@echo
 
	@echo "Build finished. The HTML file is named Satzung.html"
0 comments (0 inline, 0 general)