Skip to content

Commit

Permalink
Add latexmk config and exclude config file for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
MacLotsen committed Apr 2, 2024
1 parent 378676e commit aac1493
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ ${MANUAL}.pdf: scenario ${MANUAL}.idx ${MANUAL}.tex $(wildcard tex/*.sty) $(wild
@echo "Creating documentation PDF"
cd doc && $(COMPILER) ${CONTRIBUTION}

# while grep 'Rerun to get ' doc/${CONTRIBUTION}.log ; do cd doc && $(COMPILER) ${CONTRIBUTION} ; done

${FILE}: ${MANUAL}.pdf clean
@echo "Creating package tarball"
tar --transform 's,^\.,gitinfo-lua,' -czvf ${FILE} ./README.md ./doc ./scripts ./tex
tar --transform 's,^\.,gitinfo-lua,' \
--exclude=doc/.latexmkrc \
-czvf ${FILE} ./README.md ./doc ./scripts ./tex
2 changes: 2 additions & 0 deletions doc/.latexmkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

push @generated_exts, "glo";

0 comments on commit aac1493

Please sign in to comment.