Revision 06a6f2cc autotools/run-in-tempdir

b/autotools/run-in-tempdir
9 9
trap "rm -rf $tmpdir" EXIT
10 10

  
11 11
# fully copy items
12
cp -r doc autotools daemons scripts lib tools qa $tmpdir
13

  
14
#mkdir $tmpdir/doc
15
#ln -s $PWD/doc/examples $tmpdir/doc
12
cp -r autotools daemons scripts lib tools qa $tmpdir
13

  
14
if [[ -z "$COPY_DOC" ]]; then
15
  mkdir $tmpdir/doc
16
  ln -s $PWD/doc/examples $tmpdir/doc
17
else
18
  # Building documentation requires all files
19
  cp -r doc $tmpdir
20
fi
16 21

  
17 22
mkdir $tmpdir/test/
18 23
cp -r test/py $tmpdir/test/py

Also available in: Unified diff