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 = Design_Patterns_In_Python
5+ OUTPUT_NAME = Output/ Design_Patterns_In_Python
66
77# ==============================================================================
88all : $(OUTPUT_NAME ) .epub $(OUTPUT_NAME ) .pdf $(OUTPUT_NAME ) .html
99 @echo -e " All made"
1010
1111# ==============================================================================
1212$(OUTPUT_NAME ) .html : $(SOURCE_NAME ) .md
13+ @mkdir -p Output
1314 @echo -e " Making html."
1415 pandoc $< $(OPTIONS ) -o $@
1516 @echo -e " html made.\n"
1617
1718# ==============================================================================
1819$(OUTPUT_NAME ) .pdf : $(SOURCE_NAME ) .md
20+ @mkdir -p Output
1921 @echo -e " Making pdf."
2022 pandoc $< $(OPTIONS ) -o $@
2123 @echo -e " pdf made.\n"
2224
2325# ==============================================================================
2426$(OUTPUT_NAME ) .epub : $(SOURCE_NAME ) .md
27+ @mkdir -p Output
2528 @echo -e " Making epub."
2629 pandoc $< $(OPTIONS ) -o $@
2730 @echo -e " epub made.\n"
You can’t perform that action at this time.
0 commit comments