1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

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.

[originally from svn r9241]
This commit is contained in:
Simon Tatham 2011-07-23 11:40:26 +00:00
parent 7af708a603
commit 4a3f8bf767
2 changed files with 9 additions and 2 deletions

8
README
View File

@ -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

3
configure vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
$(echo "$0" | sed '$s!configure$!unix/configure!') "$@"