blob: e9d6174176aac9b7c77de12dded6fb2dfa2b0f8a (
plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
$NetBSD: patch-ab,v 1.2 1999/12/08 08:18:25 rh Exp $
--- lib-src/Makefile.in.in.orig Mon Jun 14 08:32:00 1999
+++ lib-src/Makefile.in.in Wed Dec 8 09:14:11 1999
@@ -192,7 +192,7 @@
## Install the internal utilities. Until they are installed, we can
## just run them directly from lib-src.
-${archlibdir}: all
+install-archlibdir: all
@echo; echo "Installing utilities run internally by XEmacs."
./make-path ${archlibdir}
if test "`(cd ${archlibdir} && $(pwd))`" != "`$(pwd)`"; then \
@@ -203,19 +203,29 @@
if test "`(cd ${archlibdir} && $(pwd))`" \
!= "`(cd ${srcdir} && $(pwd))`"; then \
for f in ${SCRIPTS}; do \
- (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$f ${archlibdir}/$$f); \
+ (cd .. && $(INSTALL_SCRIPT) ${srcdir}/$$f ${archlibdir}/$$f); \
done ; \
fi
## We do not need to install "wakeup" explicitly, because it will be
## copied when this whole directory is copied.
-install: ${archlibdir}
+install: install-archlibdir
@echo; echo "Installing utilities for users to run."
for file in ${INSTALLABLES} ; do \
+ if [ $${file} = etags ] || [ $${file} = ctags ] || [ $${file} = b2m ] ; \
+ then \
+ (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/xemacs-$${file}) ; \
+ else \
(cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
+ fi \
done
for file in ${INSTALLABLE_SCRIPTS} ; do \
- (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
+ if [ $${file} = rcs-checkin ] || [ $${file} = send-pr ] ; \
+ then \
+ (cd .. && $(INSTALL_SCRIPT) ${srcdir}/$${file} ${bindir}/xemacs-$${file}) ; \
+ else \
+ (cd .. && $(INSTALL_SCRIPT) ${srcdir}/$${file} ${bindir}/$${file}) ; \
+ fi \
done
uninstall:
|