summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/thuthesis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/thuthesis/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/thuthesis/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/thuthesis/Makefile b/Master/texmf-dist/source/latex/thuthesis/Makefile
index f3dd43cc77b..6e1c3526504 100644
--- a/Master/texmf-dist/source/latex/thuthesis/Makefile
+++ b/Master/texmf-dist/source/latex/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)