| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 | #! /bin/sh# Copyright (C) 2011-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/>.# Automake should stop the creation of Makefile.in files at the first# encountered error due to a required auxiliary file not found.. test-init.shcat >> configure.ac <<ENDAM_PATH_PYTHONENDecho SUBDIRS = > Makefile.amfor i in 1 2 3 4 5; do  echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.ac  echo "SUBDIRS += sub$i" >> Makefile.am  mkdir sub$i  echo python_PYTHON = foo.py > sub$i/Makefile.amdone: > sub1/Makefile.am$ACLOCALunset AUTOMAKE_JOBSAUTOMAKE_failsls -l Makefile.in */Makefile.in || : # For debugging.# Top-level Makefile.in might be created or not, we don't want to set# too strict semantics here, so don't check for it.  But the later# files shouldn't exist.test -f sub1/Makefile.intest ! -e sub2/Makefile.intest ! -e sub3/Makefile.intest ! -e sub4/Makefile.intest ! -e sub5/Makefile.inrm -f Makefile.in */Makefile.in: > sub2/Makefile.am: > sub3/Makefile.amAUTOMAKE_failsls -l Makefile.in */Makefile.in || : # For debugging.test -f sub1/Makefile.intest -f sub2/Makefile.intest -f sub3/Makefile.intest ! -e sub4/Makefile.intest ! -e sub5/Makefile.in:
 |