From: simon Date: Sat, 23 Jul 2011 11:40:26 +0000 (+0000) Subject: Add a wrapper script called 'configure' at the top level, which runs X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/b186421379e975e593a2e71913109cd5f2f78b66?hp=691b58ac4403cf73a1d71c6c2bbd5d8246d95699 Add a wrapper script called 'configure' at the top level, which runs the real configure script from the unix subdirectory, but with cwd unchanged so that you end up doing a VPATH build in the top-level source directory. Should, ideally, placate the people who expect 'configure' to be at the top level, while still letting _me_ keep all the Unix-specific stuff in the Unix subdirectory. git-svn-id: svn://svn.tartarus.org/sgt/putty@9241 cda61777-01e9-0310-a592-d414129be87e --- 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!') "$@"