~fginther/+junk/mbs-hooks-inline

2 by Francis Ginther
Minor fixes to H05set_package_version and H20unity_hacks
1
#!/bin/bash
1 by Francis Ginther
Initial hooks for mbs builds
2
set -ex
3
11 by Francis Ginther
Reordered H09disable_doxygen to run before autoreconf
4
# This hook must be executed prior to autoreconf.
5
6
# This hook script disables doxygen for autotools projects and keeps the
7
# builder host free of doxygen dependencies.
8
1 by Francis Ginther
Initial hooks for mbs builds
9
if [ -f autogen.sh ]; then
10
    if [ -f doxygen-include.am ]; then
11
         rm doxygen-include.am
12
         sed -i 's/include doxygen-include.am/#include doxygen-include.am/' Makefile.am
13
         sed -i 's/DX_/#DX_/' configure.ac
14
    fi
15
fi