1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Move generation of the "configure" script into its own script so that

people who check the code out of Subversion can get it to go.

[originally from svn r5674]
This commit is contained in:
Ben Harris 2005-04-25 16:36:43 +00:00
parent 0227bfdbc7
commit 265950a800
3 changed files with 12 additions and 4 deletions

4
README
View File

@ -63,7 +63,9 @@ For building on Unix:
All of the Makefiles are generated automatically from the file All of the Makefiles are generated automatically from the file
`Recipe' by the Perl script `mkfiles.pl'. Additions and corrections `Recipe' by the Perl script `mkfiles.pl'. Additions and corrections
to Recipe and the mkfiles.pl are much more useful than additions and to Recipe and the mkfiles.pl are much more useful than additions and
corrections to the alternative Makefiles themselves. corrections to the alternative Makefiles themselves. The Unix `configure'
script and its various requirements are generated by the shell script
`mkauto.sh', which requires GNU Autoconf, GNU Automake, and Gtk.
Documentation (in various formats including Windows Help and Unix Documentation (in various formats including Windows Help and Unix
`man' pages) is to be built from the Halibut (`.but') files in the `man' pages) is to be built from the Halibut (`.but') files in the

8
mkauto.sh Executable file
View File

@ -0,0 +1,8 @@
#! /bin/sh
# This script makes the autoconf mechanism for the Unix port work.
# It's separate from mkfiles.pl because it won't work (and isn't needed)
# on a non-Unix system.
# Track down automake's copy of install-sh
cp `aclocal --print-ac-dir | sed 's/aclocal$/automake/'`/install-sh unix/.
(cd unix && autoreconf && rm -rf aclocal.m4 autom4te.cache)

View File

@ -28,9 +28,7 @@ esac
perl mkfiles.pl perl mkfiles.pl
(cd doc && make -s ${docver:+"$docver"}) (cd doc && make -s ${docver:+"$docver"})
# Track down automake's copy of install-sh sh mkauto.sh
cp `aclocal --print-ac-dir | sed 's/aclocal$/automake/'`/install-sh unix/.
(cd unix && autoreconf && rm -rf aclocal.m4 autom4te.cache)
relver=`cat LATEST.VER` relver=`cat LATEST.VER`
arcname="putty$arcsuffix" arcname="putty$arcsuffix"