blob: c1dab47d2a50a21607eb0b7b09415d55ce3cc782 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Index: contrib/emacs/Makefile.in
--- Makefile.in.orig 2011-09-27 15:17:26.000000000 +0900
+++ Makefile.in 2011-09-27 15:18:10.000000000 +0900
@@ -159,8 +159,9 @@
install-dist_lispLISP: $(dist_lisp_LISP) $(ELCFILES)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(lispdir)
- @list='$(dist_lisp_LISP)'; for p in $$list; do \
+ if test $(EMACS) != no; then \
+ $(mkinstalldirs) $(DESTDIR)$(lispdir); \
+ list='$(dist_lisp_LISP)'; for p in $$list; do \
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(lispdir)/$$f"; \
@@ -169,7 +170,8 @@
echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${f}c"; \
$(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${f}c; \
else : ; fi; \
- done
+ done; \
+ fi
uninstall-dist_lispLISP:
@$(NORMAL_UNINSTALL)
|