6e185edc3a
them into a SUBPACKAGE, noticed by espie@ fix a braino in patch-Makefile_in
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
$OpenBSD: patch-Makefile_in,v 1.2 2005/03/03 20:55:41 sturm Exp $
|
|
--- Makefile.in.orig Sun Feb 20 09:21:55 2005
|
|
+++ Makefile.in Sun Feb 20 11:08:03 2005
|
|
@@ -47,6 +47,10 @@ LIBSDIRS = @LIBSDIRS@
|
|
# install kpathsea and friends by default.
|
|
INSTDIRS = @INSTDIRS@
|
|
|
|
+TETEXENV=TEXMFDIST="$(texmf)"-dist TEXMFLOCAL="$(texmf)"-local \
|
|
+ TEXMFSYSVAR=${DESTDIR}/var/texmf \
|
|
+ TEXMFSYSCONFIG=${DESTDIR}${SYSCONFDIR}/texmf
|
|
+
|
|
default: all
|
|
install: all
|
|
for dir in $(INSTDIRS); do \
|
|
@@ -65,22 +69,22 @@ install: all
|
|
$(srcdir)/selfautofix "$(bindir)" "$(texmf)/web2c"
|
|
- if test -f $(scriptdir)/mktexlsr; then \
|
|
TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
|
|
- $(scriptdir)/mktexlsr; \
|
|
+ ${TETEXENV} $(scriptdir)/mktexlsr; \
|
|
else :; fi
|
|
- if test -f $(scriptdir)/fmtutil-sys; then \
|
|
TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
|
|
- $(scriptdir)/fmtutil-sys --all; \
|
|
+ ${TETEXENV} $(scriptdir)/fmtutil-sys --all; \
|
|
else :; fi
|
|
- if test -f $(scriptdir)/texlinks; then \
|
|
TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
|
|
- $(scriptdir)/texlinks; \
|
|
+ ${TETEXENV} $(scriptdir)/texlinks; \
|
|
else :; fi
|
|
- if test -f $(scriptdir)/updmap-sys \
|
|
&& TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
|
|
$(scriptdir)/kpsewhich --format='web2c files' updmap.cfg >/dev/null; \
|
|
then \
|
|
TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
|
|
- $(scriptdir)/updmap-sys; \
|
|
+ ${TETEXENV} $(scriptdir)/updmap-sys; \
|
|
else :; fi
|
|
|
|
install-exec:
|