blob: 04205c3fcaff39fac08ca73ffd602c8ef9e3454f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
# Instead of running the original makefile to build the document, run this script instead
echo -n "Please specify your build target (e.g. html-en-US, pdf-en-US, etc) "
read TARG
echo -n "Thank you. Now specify any build parameters you'd like to use (skip this step for none). "
read PARM
tar -cf examplesdir.tar ./../../testsuite/systemtap.examples/*
mv examplesdir.tar en-US/extras
cd en-US/extras
tar -xf examplesdir.tar
rm examplesdir.tar
cd ../../
make $PARM $TARG
echo "Cleaning sync'd files..."
cd en-US/extras
rm -rf testsuite
cd ../../
echo "...done."
|