summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/thuthesis/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-06-09 03:01:30 +0000
committerNorbert Preining <norbert@preining.info>2020-06-09 03:01:30 +0000
commit03edc188c852d76ccf08759e0c334228f5f37c9f (patch)
tree08a3225e256e2bdf837eba0a45bf66b2d476f992 /macros/latex/contrib/thuthesis/Makefile
parent7e1a772944cf3d35b15db92cf639c702d1acf053 (diff)
CTAN sync 202006090301
Diffstat (limited to 'macros/latex/contrib/thuthesis/Makefile')
-rw-r--r--macros/latex/contrib/thuthesis/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/macros/latex/contrib/thuthesis/Makefile b/macros/latex/contrib/thuthesis/Makefile
index f3dd43cc77..6e1c352650 100644
--- a/macros/latex/contrib/thuthesis/Makefile
+++ b/macros/latex/contrib/thuthesis/Makefile
@@ -7,7 +7,9 @@ SPINE = spine
SOURCES = $(PACKAGE).ins $(PACKAGE).dtx
CLSFILE = dtx-style.sty $(PACKAGE).cls
-LATEXMK = latexmk
+LATEXMK = latexmk
+SHELL := /bin/bash
+NPM ?= npm
# make deletion work on Windows
ifdef SystemRoot
@@ -62,7 +64,7 @@ test:
clean:
$(LATEXMK) -c $(PACKAGE).dtx $(THESIS) $(SPINE)
- -@$(RM) *~ main-survey.*
+ -@$(RM) *~ main-survey.* _markdown_thuthesis*
cleanall: clean
-@$(RM) $(PACKAGE).pdf $(THESIS).pdf $(SPINE).pdf
@@ -80,4 +82,4 @@ else
endif
dist: check all-dev
- npm run build -- --version=$(version)
+ $(NPM) run build -- --version=$(version)