From e0a0eeaff74b0bc8349e26e6fec583e7c06d1e72 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 30 Apr 1997 02:05:14 +0000 Subject: [PATCH] minor updates from franc,ois --- ChangeLog | 3 +++ INSTALL | 11 +++++++++-- install-sh | 14 +++++++------- lib/INSTALL | 11 +++++++++-- lib/install-sh | 14 +++++++------- lib/mkinstalldirs | 4 ++-- mkinstalldirs | 4 ++-- 7 files changed, 39 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 900d5399..fbab39f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Tue Apr 29 19:11:45 1997 Tom Tromey + * INSTALL, mkinstalldirs, install-sh: Update from François + Pinard. + * aclocal.in (add_macro): If AC_ macro was defined, then mark it as seen. Report from Janos Farkas. diff --git a/INSTALL b/INSTALL index 3b50ea95..50dbe439 100644 --- a/INSTALL +++ b/INSTALL @@ -31,7 +31,7 @@ The simplest way to compile this package is: `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. - Running `configure' takes a while. While running, it prints some + Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. @@ -95,6 +95,11 @@ give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. @@ -162,7 +167,9 @@ operates. `--quiet' `--silent' `-q' - Do not print messages saying which checks are being made. + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually diff --git a/install-sh b/install-sh index 178cdac7..e8436696 100755 --- a/install-sh +++ b/install-sh @@ -1,12 +1,8 @@ -#! /bin/sh +#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its @@ -19,9 +15,13 @@ # suitability of this software for any purpose. It is provided "as is" # without express or implied warranty. # -# This script is compatible with the BSD install script, but was written -# from scratch. +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. # +# This script is compatible with the BSD install script, but was written +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. # set DOITPROG to echo to test this script diff --git a/lib/INSTALL b/lib/INSTALL index 3b50ea95..50dbe439 100644 --- a/lib/INSTALL +++ b/lib/INSTALL @@ -31,7 +31,7 @@ The simplest way to compile this package is: `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. - Running `configure' takes a while. While running, it prints some + Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. @@ -95,6 +95,11 @@ give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. @@ -162,7 +167,9 @@ operates. `--quiet' `--silent' `-q' - Do not print messages saying which checks are being made. + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually diff --git a/lib/install-sh b/lib/install-sh index 178cdac7..e8436696 100755 --- a/lib/install-sh +++ b/lib/install-sh @@ -1,12 +1,8 @@ -#! /bin/sh +#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its @@ -19,9 +15,13 @@ # suitability of this software for any purpose. It is provided "as is" # without express or implied warranty. # -# This script is compatible with the BSD install script, but was written -# from scratch. +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. # +# This script is compatible with the BSD install script, but was written +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. # set DOITPROG to echo to test this script diff --git a/lib/mkinstalldirs b/lib/mkinstalldirs index cc8783ed..5b40406e 100755 --- a/lib/mkinstalldirs +++ b/lib/mkinstalldirs @@ -2,12 +2,12 @@ # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 -# Last modified: 1994-03-25 +# Last modified: 1995-03-05 # Public domain errstatus=0 -for file in ${1+"$@"} ; do +for file in ${1+"$@"} ; do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift diff --git a/mkinstalldirs b/mkinstalldirs index cc8783ed..5b40406e 100755 --- a/mkinstalldirs +++ b/mkinstalldirs @@ -2,12 +2,12 @@ # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 -# Last modified: 1994-03-25 +# Last modified: 1995-03-05 # Public domain errstatus=0 -for file in ${1+"$@"} ; do +for file in ${1+"$@"} ; do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift -- 2.43.5