1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/lang/logo/files/patch-emacs::makefile
David W. Chapman Jr. aee786be7f Update to 5.1
PR:		38127
Submitted by:	obraun@informatik.unibw-muenchen.de
2002-05-16 13:59:14 +00:00

40 lines
1.4 KiB
Plaintext

--- emacs/makefile.orig Wed Jul 25 00:54:03 2001
+++ emacs/makefile Thu May 16 01:08:12 2002
@@ -1,7 +1,7 @@
BUILDIR = `pwd`
-INFODIR = $(prefix)/info
+INFODIR = $(PREFIX)/info
EMACSDIR = $(LIBLOC)/emacs
-DOCSDIR = $(LIBLOC)/docs
+DOCSDIR = $(PREFIX)/share/doc/logo
HTMLDIR = $(DOCSDIR)/html
LOADPATH = $(subst X,$(EMACSDIR),(setq load-path (cons "\"X\"" load-path)))
LOGOBIN = $(subst X,$(BINDIR),(setq logo-binary-name \"X/logo\"))
@@ -63,9 +63,8 @@
-rm -f add.user install-logo-mode dot.emacs dot.loops *.elc
-rm -f docs/*.{aux,cp,cps,dvi,fn,ky,log,pg,toc,tp,vr}
-install: all
- for d in $(INFODIR) $(EMACSDIR) $(DOCSDIR) $(HTMLDIR); do [ -d $$d ] || mkdir -p $$d || exit 1; done
- cp -f info/* $(INFODIR)/.
+install-emacs:
+ for d in $(EMACSDIR); do [ -d $$d ] || mkdir -p $$d || exit 1; done
cp -f logo.* $(EMACSDIR)/.
cp -f letrec.* $(EMACSDIR)/.
cp -f comint*.* $(EMACSDIR)/.
@@ -78,10 +77,13 @@
cp -p install-logo-mode $(BINDIR)/.
cp -f edfunc.el $(EMACSDIR)/.
cp -f check.lg $(EMACSDIR)/.
+
+install-docs:
+ for d in $(INFODIR) $(DOCSDIR) $(HTMLDIR); do [ -d $$d ] || mkdir -p $$d || exit 1; done
+ cp -f info/* $(INFODIR)/.
-cp -f docs/*.info* $(INFODIR)/.
-cp -f docs/*.html $(HTMLDIR)/.
-cp -f docs/usermanual.ps $(DOCSDIR)/.
-cp -f docs/usermanual.pdf $(DOCSDIR)/.
-cp -f docs/usermanual.texi $(DOCSDIR)/.
-