freebsd-nq/contrib/amd/m4/mkconf

21 lines
306 B
Plaintext
Raw Normal View History

#!/bin/bash -norc
# (re)make the autoconf configuration files.
# Used by am-utils maintainers only!
#
# Erez Zadok <ezk@cs.columbia.edu>
#
#set -x
if [ ! -f amd/amd.c ]; then
cd ..
fi
if [ ! -f amd/amd.c ]; then
cd ..
fi
if [ ! -f amd/amd.c ]; then
echo "wrong directory!"
exit 1
fi
cd m4 && make $*