blob: 925344acf74b95500093e9d75e043a8e01d98a1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/sh
# Copy the global QPID_VERSION.txt file into the source tree.
cp ../QPID_VERSION.txt .
aclocal -I m4
autoheader
libtoolize --automake
# Create initial Makefile fragments that will force make to generate
# the real ones.
cat > src/rubygen.mk <<EOF
\$(srcdir)/rubygen.mk: force
\$(rgen_cmd) \$(srcdir)/rubygen.mk
EOF
cat > src/managementgen.mk <<EOF
\$(srcdir)/managementgen.mk: force
\$(mgen_cmd)
EOF
automake
autoconf
# Optionally do the build as well.
if [ "$1" = "-build" -o "$1" = "--build" ] ; then
shift
./configure "$@"
make
make check
fi
|