mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-12-29 16:25:35 +01:00
zsh-workers/9120
This commit is contained in:
parent
cc3fdfffd3
commit
b123131667
5 changed files with 33 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
DISTFILES_SRC='
|
||||
.cvsignore .distfiles Makefile.in
|
||||
.cvsignore .distfiles .preconfig Makefile.in
|
||||
ChangeLog ChangeLog.3.0 INSTALL META-FAQ README
|
||||
acconfig.h aclocal.m4 aczsh.m4 configure.in
|
||||
configure config.h.in stamp-h.in
|
||||
|
|
7
.preconfig
Executable file
7
.preconfig
Executable file
|
@ -0,0 +1,7 @@
|
|||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
autoconf
|
||||
autoheader
|
||||
echo > stamp-h.in
|
10
INSTALL
10
INSTALL
|
@ -19,6 +19,16 @@ that zsh is known to compile on, as well as any special instructions
|
|||
for your particular architecture. Most architectures will not require any
|
||||
special instructions.
|
||||
|
||||
Pre-configuration
|
||||
-----------------
|
||||
|
||||
If you are using a normal source release, skip this section.
|
||||
|
||||
If the `configure' script does not already exist -- e.g., if you've got
|
||||
a snapshot of the bare sources just checked out from a CVS repository
|
||||
-- some things need to be built before the configuration can proceed.
|
||||
Run the script `./Util/preconfig' to do this.
|
||||
|
||||
Configuring Zsh
|
||||
---------------
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
DISTFILES_SRC='
|
||||
.distfiles
|
||||
helpfiles mkdisttree.sh reporter
|
||||
preconfig
|
||||
'
|
||||
|
|
14
Util/preconfig
Executable file
14
Util/preconfig
Executable file
|
@ -0,0 +1,14 @@
|
|||
#! /bin/sh
|
||||
|
||||
find . \( -name '*.*' -prune \) -o \( -name .preconfig -print \) | (
|
||||
while read pre; do
|
||||
cmd=`echo $pre | sed 's,^,cd ,;s,/\([^/]*\)$, \&\& ./\1,'`
|
||||
echo >&2 "$cmd"
|
||||
if ( eval "$cmd" ); then :; else
|
||||
echo "$0: $pre failed (status $?)"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
)
|
||||
|
||||
exit 0
|
Loading…
Reference in a new issue