From: Ben Harris Date: Mon, 25 Apr 2005 16:36:43 +0000 (+0000) Subject: Move generation of the "configure" script into its own script so that X-Git-Tag: 0.59~299 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=265950a800b7ab777c91d37606a0f7c970eb7f05;p=PuTTY.git 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] --- diff --git a/README b/README index 8f2a7914..991164e5 100644 --- a/README +++ b/README @@ -63,7 +63,9 @@ For building on Unix: All of the Makefiles are generated automatically from the file `Recipe' by the Perl script `mkfiles.pl'. Additions and corrections 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 `man' pages) is to be built from the Halibut (`.but') files in the diff --git a/mkauto.sh b/mkauto.sh new file mode 100755 index 00000000..cdee6221 --- /dev/null +++ b/mkauto.sh @@ -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) diff --git a/mkunxarc.sh b/mkunxarc.sh index 8433c383..57ada304 100755 --- a/mkunxarc.sh +++ b/mkunxarc.sh @@ -28,9 +28,7 @@ esac perl mkfiles.pl (cd doc && make -s ${docver:+"$docver"}) -# 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) +sh mkauto.sh relver=`cat LATEST.VER` arcname="putty$arcsuffix"