aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2022-03-14 12:41:22 +0100
committerAndreas Müller <andreas.mueller@ost.ch>2022-03-14 12:41:22 +0100
commit8ecf2cd93564d76aee7dd81736d3cd5908b273cd (patch)
tree063fb8248cf0e95529c260df130297871dd4d3bf
parentdescribe link between Jacobi-weights and Beta-distribution (diff)
downloadSeminarSpezielleFunktionen-8ecf2cd93564d76aee7dd81736d3cd5908b273cd.tar.gz
SeminarSpezielleFunktionen-8ecf2cd93564d76aee7dd81736d3cd5908b273cd.zip
move command configuration to common/Makefile.inc
-rwxr-xr-xbuch/Makefile28
-rwxr-xr-xbuch/common/Makefile.inc8
2 files changed, 21 insertions, 15 deletions
diff --git a/buch/Makefile b/buch/Makefile
index e2ad4c0..00fcf42 100755
--- a/buch/Makefile
+++ b/buch/Makefile
@@ -18,15 +18,15 @@ ALLTEXFILES = $(TEXFILES) $(CHAPTERFILES)
# Buchblock für Druckerei
#
buch.pdf: buch.tex $(TEXFILES) buch.ind $(BLXFILES)
- pdflatex buch.tex
- bibtex buch
+ $(pdflatex) buch.tex
+ $(bibtex) buch
buch.idx: buch.tex $(TEXFILES) images
- touch buch.ind
- pdflatex buch.tex
+ $(touch) buch.ind
+ $(pdflatex) buch.tex
buch.ind: buch.idx
- makeindex buch.idx
+ $(makeindex) buch.idx
#
# Papers in einzelne PDF-Files separieren für digitales Feedback
@@ -39,16 +39,16 @@ separate: buch.aux buch.pdf
#
SeminarSpezielleFunktionen.pdf: SeminarSpezielleFunktionen.tex $(TEXFILES) \
SeminarSpezielleFunktionen.ind $(BLXFILES)
- pdflatex SeminarSpezielleFunktionen.tex
- bibtex SeminarSpezielleFunktionen
+ $(pdflatex) SeminarSpezielleFunktionen.tex
+ $(bibtex) SeminarSpezielleFunktionen
SeminarSpezielleFunktionen.idx: SeminarSpezielleFunktionen.tex $(TEXFILES) \
images
- touch SeminarSpezielleFunktionen.ind
- pdflatex SeminarSpezielleFunktionen.tex
+ $(touch) SeminarSpezielleFunktionen.ind
+ $(pdflatex) SeminarSpezielleFunktionen.tex
SeminarSpezielleFunktionen.ind: SeminarSpezielleFunktionen.idx
- makeindex SeminarSpezielleFunktionen
+ $(makeindex) SeminarSpezielleFunktionen
#
# This Makefile can also construct the short tests
@@ -56,17 +56,17 @@ SeminarSpezielleFunktionen.ind: SeminarSpezielleFunktionen.idx
tests: test1.pdf test2.pdf test3.pdf
test1.pdf: common/test-common.tex common/test1.tex aufgaben1.tex
- pdflatex common/test1.tex
+ $(pdflatex) common/test1.tex
test2.pdf: common/test-common.tex common/test1.tex aufgaben2.tex
- pdflatex common/test2.tex
+ $(pdflatex) common/test2.tex
test3.pdf: common/test-common.tex common/test1.tex aufgaben3.tex
- pdflatex common/test3.tex
+ $(pdflatex) common/test3.tex
#
# Errata
#
errata.pdf: errata.tex
- pdflatex errata.tex
+ $(pdflatex) errata.tex
diff --git a/buch/common/Makefile.inc b/buch/common/Makefile.inc
index c8b0f6e..b9461e5 100755
--- a/buch/common/Makefile.inc
+++ b/buch/common/Makefile.inc
@@ -4,9 +4,15 @@
# (c) 2021 Prof Dr Andreas Mueller, OST Ostschweizer Fachhochschule
#
-
SUBDIRECTORIES = chapters
+# change the following variables to suit your environment
+
+pdflatex = pdflatex
+bibtex = bibtex
+makeindex = makeindex
+touch = touch
+
.PHONY: images
images: