diff --git a/Makefile b/Makefile index 96a89af..f3b117c 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index 0b15ece..5f747dd 100644 --- a/README.md +++ b/README.md @@ -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.