| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 | #! /bin/sh# Copyright (C) 2001-2017 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# the Free Software Foundation; either version 2, or (at your option)# any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program.  If not, see <http://www.gnu.org/licenses/>.# Make sure distclean and maintainer-clean erase the right files.# This test is for in-tree builds; see sister test 'maintclean-vpath.sh'# for VPATH builds.. test-init.shcat >> configure.ac << 'END'AC_CONFIG_FILES([bar sub/Makefile])AC_OUTPUTENDcat > Makefile.am <<'END'SUBDIRS = subnoinst_DATA = foo.cfoo.c:	touch foo.cMAINTAINERCLEANFILES = foo.cENDmkdir subcat > sub/Makefile.am <<'END'noinst_SCRIPTS = zapzap: zap.sh	cp $(srcdir)/zap.sh $@ && chmod a+x $@MAINTAINERCLEANFILES = zapEND: > bar.in: > sub/zap.sh$ACLOCAL$AUTOCONF$AUTOMAKE# Users can disable autom4te.cache.if test -d autom4te.cache; then  test_cache='test -d autom4te.cache'else  test_cache=:fi./configuretest -f bar$MAKEtest -f foo.ctest -f sub/zap$test_cache$MAKE distcleantest ! -e bartest ! -e Makefiletest ! -e sub/Makefiletest ! -e config.statustest -f foo.ctest -f sub/zaptest -f sub/zap.sh$test_cache./configuretest -f bar$MAKE foo.ctest -f foo.ccd sub$MAKE zaptest -f zapcd ..$MAKE maintainer-cleantest -f sub/zap.shtest ! -e bartest ! -e foo.ctest ! -e sub/zaptest ! -e Makefiletest ! -e sub/Makefiletest ! -e config.statustest ! -e autom4te.cache:
 |