diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2009-07-27 17:19:52 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-26 00:30:12 -0600 |
commit | 87348edd1b6f1e0f79f76d0c95676214396a5fcd (patch) | |
tree | 32a6dff83f6f1f1d75ad1255b0194718dc765aea /configure | |
parent | 13ac989be47ce85bd9776c9787c9dc17ddda92f8 (diff) |
Further refactoring. Mostly tweaking makefiles. Switched to
autoconf-style variables. This means I had to change every shell script...
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -15,7 +15,7 @@ name='configure' # rvs configureation script _exec_prefix='$(prefix)' _bindir='$(exec_prefix)/bin' _sbindir='$(exec_prefix)/sbin' - rvsdir='/etc' + _rvsdir='/etc' vars='srcdir SHELL prefix exec_prefix bindir sbindir rvsdir' @@ -72,7 +72,10 @@ Makefiles=`find "${_srcdir}/" -regextype posix-extended \ for orig in $Makefiles; do new=${orig/%.orig/} - new=${new/#$_srcdir/} + new=${new/#$_srcdir\//} + mkdir -p `dirname "$new"` sed -f var.sed < "${orig}" > "${new}" done +#rm var.sed + |