# Process AD_INIT
sed -e "/AD_INIT/s//AC_INIT([$distribution], [$dist_version], [$bug_report], [$package])/" $fname > $fname.tmp
- # Remove AD_ENABLE_DEPENDENCIES
- sed -e "/^AD_ENABLE_DEPENDENCIES/d" $fname.tmp > $fname
+ # Remove AD_DISABLE_DEPENDENCIES
+ sed -e "/^AD_DISABLE_DEPENDENCIES/d" $fname.tmp > $fname
# Process for distribution
rm -f $fname.tmp
#
ad_make_makefile_am()
{
- local am_deps=false
+ local am_deps=true
local f=$1
local fname=$2
- # Enable dependencies if requested
+ # Disable dependencies if requested
dc=`sed 's/^[ ]*//' < configure.ad | grep -v "^#" \
- | grep "AD_ENABLE_DEPENDENCIES"`
- if test "$dc" = "AD_ENABLE_DEPENDENCIES"; then
- am_deps=true
+ | grep "AD_DISABLE_DEPENDENCIES"`
+ if test "$dc" = "AD_DISABLE_DEPENDENCIES"; then
+ am_deps=false
fi
# Header for the Makefile.am
-s, --distdefs [<dist>] print distribution defines of <dist>, then exit
-i, --init initialize Autodist environment, create default
distribution directory and distribution, then exit
- -p, --process <src> <dst> process file <src> into <dst> for distribution,
- only non-source files can be processed with -p
+ -p, --process <src> <dst> process Makefile.ad file <src> into <dst> for
+ distribution, the exit
-m, --makedist create and package distribution
--gzip create package compressed with gzip (default)
--bzip2 create also package compressed with bzip2