File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33OPTIONS = -s --toc --toc-depth=2 --highlight-style haddock
44SOURCE_NAME = Design_Patterns_In_Python
5- OUTPUT_NAME = $( shell echo $( SOURCE_NAME ) | sed -e 's/ /_/g')
5+ OUTPUT_NAME = Design_Patterns_In_Python
66
77# ==============================================================================
88all : $(OUTPUT_NAME ) .epub $(OUTPUT_NAME ) .pdf $(OUTPUT_NAME ) .html
@@ -11,19 +11,19 @@ all: $(OUTPUT_NAME).epub $(OUTPUT_NAME).pdf $(OUTPUT_NAME).html
1111# ==============================================================================
1212$(OUTPUT_NAME ) .html : $(SOURCE_NAME ) .md
1313 @echo -e " Making html."
14- @ pandoc $< $(OPTIONS ) -o $@
14+ pandoc $< $(OPTIONS ) -o $@
1515 @echo -e " html made.\n"
1616
1717# ==============================================================================
1818$(OUTPUT_NAME ) .pdf : $(SOURCE_NAME ) .md
1919 @echo -e " Making pdf."
20- @ pandoc $< $(OPTIONS ) -o $@
20+ pandoc $< $(OPTIONS ) -o $@
2121 @echo -e " pdf made.\n"
2222
2323# ==============================================================================
2424$(OUTPUT_NAME ) .epub : $(SOURCE_NAME ) .md
2525 @echo -e " Making epub."
26- @ pandoc $< $(OPTIONS ) -o $@
26+ pandoc $< $(OPTIONS ) -o $@
2727 @echo -e " epub made.\n"
2828
2929# ==============================================================================
You can’t perform that action at this time.
0 commit comments