3e5124a6c9
found by fulvio ciriaco (oivulf at gmail)
27 lines
951 B
Plaintext
27 lines
951 B
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2008/05/07 05:10:30 steven Exp $
|
|
--- Makefile.orig Sun Dec 15 03:15:42 2002
|
|
+++ Makefile Wed May 7 07:06:32 2008
|
|
@@ -20,6 +20,7 @@ lispdir = $(prefix)/share/emacs/site-lisp
|
|
|
|
# Where the AUC TeX emacs lisp files go.
|
|
aucdir=$(lispdir)/auctex
|
|
+finalaucdir=$(TRUEPREFIX)/share/emacs/site-lisp/auctex
|
|
|
|
# Name of your emacs binary
|
|
EMACS=emacs
|
|
@@ -121,12 +122,12 @@ contrib:
|
|
# $(ELC) hilit-LaTeX.el # Doesn't compile without X
|
|
|
|
install-lisp: some
|
|
- if [ ! -d $(lispdir) ]; then mkdir $(lispdir); else true; fi ;
|
|
+ if [ ! -d $(lispdir) ]; then mkdir -p -m 755 $(lispdir); else true; fi ;
|
|
if [ -f $(lispdir)/tex-site.el ]; \
|
|
then \
|
|
echo "Leaving old tex-site.el alone."; \
|
|
else \
|
|
- sed -e 's#@AUCDIR#$(aucdir)/#' tex-site.el \
|
|
+ sed -e 's#@AUCDIR#$(finalaucdir)/#' tex-site.el \
|
|
> $(lispdir)/tex-site.el ; \
|
|
fi
|
|
if [ ! -d $(aucdir) ]; then mkdir $(aucdir); else true; fi ;
|