ledger/scripts/acprep

17 lines
264 B
Bash
Executable file

#!/bin/sh
aclocal
if [ "$1" = "--dist" ]; then
automake -acfi
else
automake -acf
fi
autoheader
autoconf
if [ "$1" = "--gen" ]; then
./configure CPPFLAGS="-I/sw/include -I/usr/include/httpd/xml" \
LDFLAGS=-L/sw/lib CXXFLAGS="-g" --enable-debug
fi