Move generation of the "configure" script into its own script so that
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Apr 2005 16:36:43 +0000 (16:36 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Apr 2005 16:36:43 +0000 (16:36 +0000)
people who check the code out of Subversion can get it to go.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5674 cda61777-01e9-0310-a592-d414129be87e

README
mkauto.sh [new file with mode: 0755]
mkunxarc.sh

diff --git a/README b/README
index 8f2a791..991164e 100644 (file)
--- 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 (executable)
index 0000000..cdee622
--- /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)
index 8433c38..57ada30 100755 (executable)
@@ -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"