Update Makefile

This commit is contained in:
Danila Fedorin 2020-05-28 23:00:45 -07:00
parent c8e691d411
commit 58a773dc8b

View File

@ -8,6 +8,8 @@ archive.pdf: intro.pdf requirements.pdf design-doc.pdf \
readme.pdf readme.pdf
# Generate LaTeX files from READMEs # Generate LaTeX files from READMEs
# Matt's READMEs don't use the convention for headers; we need to update them so that every
# "section" is a subsection and so on. We also insert our own overarching section title.
readme-app.tex: external/app/README.md readme-app.tex: external/app/README.md
pandoc -f markdown-auto_identifiers -t latex --no-highlight -o readme-app.tex external/app/README.md pandoc -f markdown-auto_identifiers -t latex --no-highlight -o readme-app.tex external/app/README.md
@ -17,9 +19,6 @@ readme-cdl.tex: external/cdl/README.md
readme-server.tex: external/server/README.md readme-server.tex: external/server/README.md
pandoc -f markdown-auto_identifiers -t latex --no-highlight -o readme-server.tex external/server/README.md pandoc -f markdown-auto_identifiers -t latex --no-highlight -o readme-server.tex external/server/README.md
# Matt's READMEs don't use the convention for headers; we need to update them so that every
# "section" is a subsection and so on. We also insert our own overarching section title.
readme-collar.tex: external/collar/README.md readme-collar.tex: external/collar/README.md
pandoc -f markdown-auto_identifiers -t latex --no-highlight -o readme-collar.tex external/collar/README.md pandoc -f markdown-auto_identifiers -t latex --no-highlight -o readme-collar.tex external/collar/README.md
sed -i -e 's/section/subsection/g' readme-collar.tex sed -i -e 's/section/subsection/g' readme-collar.tex
@ -52,6 +51,6 @@ requirements.pdf: external/requirements/requirements.latex
cd external/requirements && pdflatex -output-directory=../.. requirements.latex && pdflatex -output-directory=../.. requirements.latex cd external/requirements && pdflatex -output-directory=../.. requirements.latex && pdflatex -output-directory=../.. requirements.latex
clean: clean:
rm -rf *.pdf *.out *.aux *.log *.toc readme-*.tex rm -rf *.pdf *.out *.aux *.log *.toc readme-*.tex *.old
.PHONY: clean .PHONY: clean