#! /bin/sh
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Also, ensure that 'make -n dist' and 'make -n distcheck' show what
# would happen, at least when using GNU make.
-. ./defs || Exit 1
+. test-init.sh
mkdir sub
for target in dist distcheck; do
$MAKE -n $target
if using_gmake; then
- $MAKE -n $target | grep stamp-sub-dist-hook || Exit 1
+ $MAKE -n $target | grep stamp-sub-dist-hook || exit 1
fi
$MAKE test-no-distdir
# No file has been actually touched or created.