aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-05-23 04:42:11 +0000
committerJim Blandy1993-05-23 04:42:11 +0000
commit8d467c70c0184c34868cf95ab260f5a5b524ecfa (patch)
tree77f9b38ef351914c140cba762eb2725236ebbd2b
parent4970bc095b56196c3788db50bf9189e632b9b5dc (diff)
downloademacs-8d467c70c0184c34868cf95ab260f5a5b524ecfa.tar.gz
emacs-8d467c70c0184c34868cf95ab260f5a5b524ecfa.zip
* configure.in: Implement the --prefix option.
* Makefile.in (prefix): Add support for it here. * Makefile.in (install): Don't assume that the files in the `info' subdirectory match *.info. They don't have that prefix.
-rw-r--r--Makefile.in12
1 files changed, 5 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in
index 3edbf80b764..ca87fb33f87 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -61,8 +61,8 @@ libsrc_libs=@libsrc_libs@
61# The default location for installation. Everything is placed in 61# The default location for installation. Everything is placed in
62# subdirectories of this directory. The default values for many of 62# subdirectories of this directory. The default values for many of
63# the variables below are expressed in terms of this one, so you may 63# the variables below are expressed in terms of this one, so you may
64# not need to change them. 64# not need to change them. This defaults to /usr/local.
65prefix=/usr/local 65prefix=@prefix@
66 66
67# Like `prefix', but used for architecture-specific files. 67# Like `prefix', but used for architecture-specific files.
68exec_prefix=${prefix} 68exec_prefix=${prefix}
@@ -341,11 +341,9 @@ install: all mkdir
341 if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \ 341 if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \
342 ${INSTALL_DATA} dir ${infodir}/dir ; \ 342 ${INSTALL_DATA} dir ${infodir}/dir ; \
343 fi ; \ 343 fi ; \
344 if [ "`echo *.info*`" != "*.info*" ]; then \ 344 for f in cl* emacs* forms* info* vip* ; do \
345 for f in *.info* ; do \ 345 ${INSTALL_DATA} $$f ${infodir}/$$f ; \
346 ${INSTALL_DATA} $$f ${infodir}/$$f ; \ 346 done)
347 done ; \
348 fi)
349 cd ${srcdir}/etc; for page in emacs etags ctags ; do \ 347 cd ${srcdir}/etc; for page in emacs etags ctags ; do \
350 ${INSTALL_DATA} $${page}.1 ${mandir}/$${page}${manext} ; \ 348 ${INSTALL_DATA} $${page}.1 ${mandir}/$${page}${manext} ; \
351 done 349 done