3 # When run from the top-level repository, performs a complete clean
4 # and maintainer-mode rebuild of the FireHOL package.
6 if [ ! -f .gitignore -o ! -f configure.ac -o ! -x autogen.sh ]
8 echo "Run as ./packaging/git-build from an autotools git repository"
12 # If we are genuinely in a git repo, try to clean it up, otherwise
13 # just make the assumption
16 clean=$(git status -s | grep "^?")
22 echo "Warning: this script runs: git clean -d -f -x"
23 echo " ensure all required ?? files are added, then re-run with '-ok'"
24 git status -s | grep '^?'
36 ./configure --enable-maintainer-mode