Skip to content

Commit 7c7a79f

Browse files
committed
Enhance makefile
1 parent e06c6d3 commit 7c7a79f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ install: ${CONTRIBUTION}.tds.zip
2222
has to be consulted afterward."
2323

2424
uninstall:
25-
# don't remove everything
25+
# todo: don't remove everything
2626
rm -rf ${INSTALL_PATH}
2727

2828
upload: ${FILE}
@@ -32,18 +32,16 @@ build: ${CONTRIBUTION}.pdf
3232

3333
clean:
3434
latexmk -c 2> /dev/null
35-
rm -f lua.idx lua.ilg lua.ind
3635

37-
clean-all: clean
36+
clean-all:
37+
latexmk -C 2> /dev/null
3838
rm -f ${FILE}
3939
rm -f ${CONTRIBUTION}.tds.zip
4040

4141
${CONTRIBUTION}.pdf: ${CONTRIBUTION}.tex
4242
@echo "Creating documentation PDF"
4343
lualatex -shell-escape ${CONTRIBUTION}.tex > /dev/null
4444
makeindex -s gind.ist ${CONTRIBUTION}.idx 2> /dev/null
45-
# makeindex -s gind.ist lua.idx 2> /dev/null
46-
# makeindex -s gglo.ist -o ${CONTRIBUTION}.gls ${CONTRIBUTION}.glo 2> /dev/null
4745
lualatex -shell-escape ${CONTRIBUTION}.tex > /dev/null
4846

4947
${FILE}: ${CONTRIBUTION}.pdf

0 commit comments

Comments
 (0)