r20648: Closer to a build... Add missing header file.
[Samba.git] / source / script / installmisc.sh
blob082a01eee96d81f8bfe2d1cd28523bf524fca050
1 #!/bin/sh
2 # install miscellaneous files
4 SRCDIR="$1"
5 JSDIR="$2"
6 SETUPDIR="$3"
7 BINDIR="$4"
9 cd $SRCDIR || exit 1
11 echo "Installing js libs"
12 mkdir -p $JSDIR || exit 1
13 cp scripting/libjs/*.js $JSDIR || exit 1
15 echo "Installing setup templates"
16 mkdir -p $SETUPDIR || exit 1
17 cp setup/*.ldif $SETUPDIR || exit 1
18 cp setup/*.zone $SETUPDIR || exit 1
19 cp setup/*.conf $SETUPDIR || exit 1
21 echo "Installing script tools"
22 mkdir -p "$BINDIR"
23 rm -f scripting/bin/*~
24 cp scripting/bin/* $BINDIR/ || exit 1
26 exit 0