feat: Updates makefile
This commit is contained in:
14
Makefile
14
Makefile
@@ -11,18 +11,12 @@ pdf: ansible
|
||||
&& osascript ./scripts/notify.scpt
|
||||
|
||||
.PHONY: tex
|
||||
tex: gen
|
||||
@pandoc \
|
||||
-H resources/head.tex \
|
||||
-H "${BUILD_DIR}/footer.tex" \
|
||||
-o "${BUILD_DIR}/${TEX_TITLE}" \
|
||||
"${BUILD_DIR}/${OUT_FILE}"
|
||||
tex: ansible
|
||||
@./scripts/gen.sh "${BUILD_DIR}" "${BUILD_DIR}/${TEX_TITLE}"
|
||||
|
||||
.PHONY: html
|
||||
html: gen
|
||||
@pandoc \
|
||||
-o "${BUILD_DIR}/${HTML_TITLE}" \
|
||||
"${BUILD_DIR}/${OUT_FILE}" \
|
||||
html: ansible
|
||||
@./scripts/gen.sh "${BUILD_DIR}" "${BUILD_DIR}/${HTML_TITLE}" \
|
||||
&& open "${BUILD_DIR}/${HTML_TITLE}"
|
||||
|
||||
.PHONY: install
|
||||
|
||||
Reference in New Issue
Block a user