summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@samba.org>1998-09-21 09:07:08 +0000
committerAlexandre Oliva <oliva@samba.org>1998-09-21 09:07:08 +0000
commite649750cb4d2d2577f0577b1d7a87ae4daf8fb6f (patch)
tree3b03a3bd0f02edd79b2e82d91977ba288a4aa1d9 /source3/script
parent81babe9b0def6dcddeb811b0d9f1e8ff1bac3bd2 (diff)
downloadsamba-e649750cb4d2d2577f0577b1d7a87ae4daf8fb6f.tar.gz
samba-e649750cb4d2d2577f0577b1d7a87ae4daf8fb6f.tar.bz2
samba-e649750cb4d2d2577f0577b1d7a87ae4daf8fb6f.zip
major autoconf clean-up
fix problems in builds with srcdir!=builddir (This used to be commit 1ffc3b807a3f80644c974b454ff5e6f68e89b546)
Diffstat (limited to 'source3/script')
-rw-r--r--source3/script/dummy.in1
-rwxr-xr-xsource3/script/installcp.sh10
2 files changed, 7 insertions, 4 deletions
diff --git a/source3/script/dummy.in b/source3/script/dummy.in
index e69de29bb2..8b13789179 100644
--- a/source3/script/dummy.in
+++ b/source3/script/dummy.in
@@ -0,0 +1 @@
+
diff --git a/source3/script/installcp.sh b/source3/script/installcp.sh
index d1bc7f6291..87b0ef1a8a 100755
--- a/source3/script/installcp.sh
+++ b/source3/script/installcp.sh
@@ -1,11 +1,13 @@
#!/bin/sh
-LIBDIR=$1
-CODEPAGEDIR=$2
-BINDIR=$3
+srcdir=$1
+LIBDIR=$2
+CODEPAGEDIR=$3
+BINDIR=$4
shift
shift
shift
+shift
echo Installing codepage files in $CODEPAGEDIR
for d in $LIBDIR $CODEPAGEDIR; do
@@ -20,7 +22,7 @@ done
for p in $*; do
echo Creating codepage file $CODEPAGEDIR/codepage.$p
- $BINDIR/make_smbcodepage c $p codepages/codepage_def.$p $CODEPAGEDIR/codepage.$p
+ $BINDIR/make_smbcodepage c $p ${srcdir}/codepages/codepage_def.$p $CODEPAGEDIR/codepage.$p
done