| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 | #! /bin/sh# Copyright (C) 2003-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 rebuild rules work even when AC_CONFIG_FILES uses colons.# Report from Alexander Turbov.. test-init.shcat >> configure.ac << 'END'AC_CONFIG_FILES([bar/Makefile:bar/Makefile.in:Makefile.bot])AC_OUTPUTENDcat > Makefile.am << 'END'SUBDIRS = barEXTRA_DIST = Makefile.botENDmkdir barcat > bar/Makefile.am << 'END'top-rule:	@echo 'top rule'ENDcat > Makefile.bot << 'END'bot-rule:	@echo 'bot rule'END$ACLOCAL$AUTOCONF$AUTOMAKE./configure$MAKEcd barrun_make -O top-rulegrep 'top rule' stdoutrun_make -O bot-rulegrep 'bot rule' stdoutcd ..$sleepcat > bar/Makefile.am << 'END'top-rule:	@echo 'top2 rule'END$MAKEcd barrun_make -O top-rulegrep 'top2 rule' stdoutrun_make -O bot-rulegrep 'bot rule' stdoutcd ..$sleepcat > Makefile.bot << 'END'bot-rule:	@echo 'bot2 rule'END$MAKEcd barrun_make -O top-rulegrep 'top2 rule' stdoutrun_make -O bot-rulegrep 'bot2 rule' stdoutcd ..$MAKE distcheck:
 |