summaryrefslogtreecommitdiff
path: root/devel/scmgit/patches/patch-ai
blob: 6757f54b64cfdec224fe8e5e7f1878493592be6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ai,v 1.1 2007/09/21 23:13:26 bjs Exp $

Beginnings of emacs support, not enabled yet.  We must use mk/emacs.mk.

--- contrib/emacs/Makefile.orig	2007-09-19 14:02:17.000000000 -0400
+++ contrib/emacs/Makefile
@@ -12,8 +12,8 @@ RM ?= rm -f
 all: $(ELC)
 
 install: all
-	$(INSTALL) -d $(DESTDIR)$(emacsdir)
-	$(INSTALL_ELC) $(ELC:.elc=.el) $(ELC) $(DESTDIR)$(emacsdir)
+	${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(emacsdir)
+	${BSD_INSTALL_DATA} $(ELC:.elc=.el) $(ELC) $(DESTDIR)$(emacsdir)
 
 %.elc: %.el
 	$(EMACS) -batch -f batch-byte-compile $<