substitute the right directory into tex-site.el
found by fulvio ciriaco (oivulf at gmail)
This commit is contained in:
parent
d27262d161
commit
3e5124a6c9
@ -1,9 +1,9 @@
|
|||||||
# $OpenBSD: Makefile,v 1.6 2007/10/01 11:42:30 steven Exp $
|
# $OpenBSD: Makefile,v 1.7 2008/05/07 05:10:30 steven Exp $
|
||||||
|
|
||||||
COMMENT= extensible emacs interface for TeX
|
COMMENT= extensible emacs interface for TeX
|
||||||
|
|
||||||
DISTNAME= auctex-11.14
|
DISTNAME= auctex-11.14
|
||||||
PKGNAME= ${DISTNAME}p1
|
PKGNAME= ${DISTNAME}p2
|
||||||
CATEGORIES= print
|
CATEGORIES= print
|
||||||
|
|
||||||
HOMEPAGE= http://www.gnu.org/software/auctex/
|
HOMEPAGE= http://www.gnu.org/software/auctex/
|
||||||
|
@ -1,7 +1,15 @@
|
|||||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2004/02/21 01:41:12 pvalchev Exp $
|
$OpenBSD: patch-Makefile,v 1.2 2008/05/07 05:10:30 steven Exp $
|
||||||
--- Makefile.orig 2004-02-03 14:20:52.000000000 -0700
|
--- Makefile.orig Sun Dec 15 03:15:42 2002
|
||||||
+++ Makefile 2004-02-03 14:20:52.000000000 -0700
|
+++ Makefile Wed May 7 07:06:32 2008
|
||||||
@@ -121,7 +121,7 @@ contrib:
|
@@ -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
|
# $(ELC) hilit-LaTeX.el # Doesn't compile without X
|
||||||
|
|
||||||
install-lisp: some
|
install-lisp: some
|
||||||
@ -10,3 +18,9 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2004/02/21 01:41:12 pvalchev Exp $
|
|||||||
if [ -f $(lispdir)/tex-site.el ]; \
|
if [ -f $(lispdir)/tex-site.el ]; \
|
||||||
then \
|
then \
|
||||||
echo "Leaving old tex-site.el alone."; \
|
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 ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user