Commit graph

9 commits

Author SHA1 Message Date
Olly Betts
dc1fad3f9b Stop preinst-swig.in from being executable
The template itself isn't useful to run, and the generated file
"preinst-swig" is explicitly made executable by configure.
2016-05-22 18:59:00 +12:00
Olly Betts
c270367ea0 Add missing shell quoting 2015-09-04 14:30:42 +12:00
William S Fulton
abe52396b2 Leave preinst-swig as a convenience only script for ad-hoc use 2015-08-21 22:48:34 +01:00
William S Fulton
af06a48430 preinst-swig script support for native windows paths
- SWIG_LIB support for testing on Windows
- Only in-source builds for now
2015-04-04 02:17:57 +01:00
Olly Betts
430fe58a24 Properly quote parameters in preinst-swig wrapper.
$* is subject to word-splitting and pathname expansion, whereas "$@"
expands to each parameter as a separate quoted word.

Some ancient shells expand "$@" to "" if there are no parameters, but
that isn't really a concern here as running swig without arguments isn't
useful.
2015-01-07 18:14:44 +13:00
Olly Betts
9128626a71 Quote $builddir and @srcdir@ to protect from the shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 10:30:31 +00:00
William S Fulton
5ea5667e18 remove non-standard --with-release-suffix configure options and fix the standard autoconf options --program-prefix and --program-suffix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 22:54:02 +00:00
William S Fulton
a3ab512d2c Native Windows built SWIG executable workaround (commented out)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 22:30:05 +00:00
Matthias Köppe
cf1cce4894 Add a generated script "preinst-swig", which can be used
to invoke SWIG before it has been installed.

Use it to build the runtime libs.  This enables out-of-source builds
again.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 21:50:27 +00:00