~fginther/+junk/mbs-hooks-inline

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
set -ex

# This hook must be executed prior to autoreconf.

# This hook script disables doxygen for autotools projects and keeps the
# builder host free of doxygen dependencies.

if [ -f autogen.sh ]; then
    if [ -f doxygen-include.am ]; then
         rm doxygen-include.am
         sed -i 's/include doxygen-include.am/#include doxygen-include.am/' Makefile.am
         sed -i 's/DX_/#DX_/' configure.ac
    fi
fi