changeset 2974:253a291a62ca

* 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.
author Jim Blandy <jimb@redhat.com>
date Sun, 23 May 1993 04:42:11 +0000
parents 6b04a0846802
children 11c21b4d400d
files Makefile.in
diffstat 1 files changed, 5 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sun May 23 02:53:53 1993 +0000
+++ b/Makefile.in	Sun May 23 04:42:11 1993 +0000
@@ -61,8 +61,8 @@
 # The default location for installation.  Everything is placed in
 # subdirectories of this directory.  The default values for many of
 # the variables below are expressed in terms of this one, so you may
-# not need to change them.
-prefix=/usr/local
+# not need to change them.  This defaults to /usr/local.
+prefix=@prefix@
 
 # Like `prefix', but used for architecture-specific files.
 exec_prefix=${prefix}
@@ -341,11 +341,9 @@
 	  if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \
 	    ${INSTALL_DATA} dir ${infodir}/dir ; \
 	  fi ; \
-	  if [ "`echo *.info*`" != "*.info*" ]; then \
-	    for f in *.info* ; do \
-	      ${INSTALL_DATA} $$f ${infodir}/$$f ; \
-	    done ; \
-	  fi)
+	  for f in cl* emacs* forms* info* vip* ; do \
+	    ${INSTALL_DATA} $$f ${infodir}/$$f ; \
+	  done)
 	cd ${srcdir}/etc; for page in emacs etags ctags ; do \
 	  ${INSTALL_DATA} $${page}.1 ${mandir}/$${page}${manext} ; \
 	done