Use a better installation default target

~/texmf seems to be more commonly recommended.
This commit is contained in:
Tom Kazimiers 2020-07-12 23:14:30 +02:00
parent 9137350747
commit 20d7662ef6
2 changed files with 6 additions and 1 deletions

View File

@ -38,6 +38,9 @@ else
# macOS
prefix := $(prefix)/Library/texmf
endif
ifeq ($(detected_OS),Linux)
prefix := $(prefix)/texmf
endif
endif
texdir = $(prefix)/tex/inputs
docdir = $(texdir)/doc

View File

@ -33,5 +33,7 @@ Die installation kann entweder durch das Kommando `make install && make install.
* Zuerst rechnung.sty erzeugen: `latex rechnung.ins`
* Dann die Dokumentation: `latex rechnung.dtx`
* rechnung.sty muss in den Pfad von LaTeX 2e `.../tex/latex/`, wobei „`...`“ systemspezifisch ist.
* rechnung.sty muss in den Pfad von LaTeX 2e `.../tex/latex/`, wobei „`...`“
systemspezifisch ist. In den meisten Linux-Distributionen ist `~/texmf` der
typische Ort, sodass der gesamte Pfad `~/texmf/tex/latex/` wäre.