Created
June 30, 2024 11:31
-
-
Save polprog/c08dabdef3190703ba82a1ad59a4e1e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The main tex file which \input's the section files | |
MAINTEX=TO BE FILLED BY OEM | |
# The section tex files | |
TEXFILES=TO BE FILLED BY OEM | |
OUTPUT=output/ | |
all: dirs html pdf | |
dirs: | |
mkdir -p ${OUTPUT} | |
html: ${MAINTEX} ${TEXFILES} | |
latex2html -split 0 -dir ${OUTPUT} $< | |
pdf: ${MAINTEX} ${TEXFILES} | |
xelatex -output-directory=${OUTPUT} $< | |
clean: | |
rm -r ${OUTPUT}/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment