diff --git a/README b/README index 06f0d379..8f2c2116 100644 --- a/README +++ b/README @@ -65,8 +65,12 @@ For building on Unix: - unix/configure is for Unix and GTK. If you don't have GTK, you should still be able to build the command-line utilities (PSCP, - PSFTP, Plink, PuTTYgen) using this script. To use it, change - into the `unix' subdirectory, run `./configure' and then `make'. + PSFTP, Plink, PuTTYgen) using this script. To use it, change into + the `unix' subdirectory, run `./configure' and then `make'. Or you + can do the same in the top-level directory (we provide a little + wrapper that invokes configure one level down), which is more like + a normal Unix source archive but doesn't do so well at keeping the + per-platform stuff in each platform's subdirectory; it's up to you. Note that Unix PuTTY has mostly only been tested on Linux so far; portability problems such as BSD-style ptys or different header file diff --git a/configure b/configure new file mode 100644 index 00000000..d56f50a3 --- /dev/null +++ b/configure @@ -0,0 +1,3 @@ +#!/bin/sh + +$(echo "$0" | sed '$s!configure$!unix/configure!') "$@"