$output_trailer .= $cond->subst_string;
$output_trailer .= $_;
$comment = $spacing = '';
- error $where, "'#' comment at start of rule is unportable"
- if $_ =~ /^\t\s*\#/;
}
$saw_bk = $new_saw_bk;
.PHONY: test
check-local: test
test: all
- cat $(srcdir)/config.hin ;: For debugging.
- cat config.h ;: Likewise.
+ cat $(srcdir)/config.hin # For debugging.
+ cat config.h # Likewise.
grep '#.*GREPME' $(srcdir)/config.hin
grep '#.*define.*GREPME' config.h
END
test '$(var2)' = bar
test '$(var3)' = '#'
test '$(var4)' = \#
- : Use '[', not 'test', here, so that spurious comments
- : are ensured to cause syntax errors.
+ # Use '[', not 'test', here, so that spurious comments
+ # are ensured to cause syntax errors.
[ $(var5) = ok ]
# Yes, this file ends with a backslash-newline. So what?
+++ /dev/null
-#! /bin/sh
-# Copyright (C) 2001-2012 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 that '#' after a tab is a failure.
-# The Tru64 Unix V5.1 system make will pass these to the
-# shell, which in turn can't find '#' as a command.
-# Sigh. Some vendors must be destroyed.
-
-. ./defs || Exit 1
-
-cat > Makefile.am << 'END'
-install-data-local:
- # Tru64 Unix must die
-END
-
-$ACLOCAL
-AUTOMAKE_fails
-grep 'Makefile.am:2:.*#' stderr
.PHONY: test1 test2
test1:
- find $(mandir) ;: For debugging.
+ find $(mandir) # For debugging.
test -f $(mandir)/man1/foo.1
test -f $(mandir)/man4/6.4
test ! -f $(mandir)/man2/bar.2
test ! -f $(mandir)/man1/baz.1
test ! -f $(mandir)/man5/zap.5
test2:
- find $(mandir) ;: For debugging.
+ find $(mandir) # For debugging.
test -f $(mandir)/man2/bar.2
test -f $(mandir)/man1/baz.1
test -f $(mandir)/man5/zap.5
@echo am__dist_common = $(am__dist_common)
echo ' ' $(am__dist_common) ' ' | grep '[ /]one\.h\.in '
echo ' ' $(am__dist_common) ' ' | grep '[ /]two\.h\.in '
- : Processed header files should not be distributed.
+ # Processed header files should not be distributed.
if echo ' ' $(am__dist_common) ' ' | grep '\.h '; then \
exit 1; \
else \
ls -l $(distdir)/*
test -f $(distdir)/one.h.in
test -f $(distdir)/two.h.in
- : Processed header files should not be distributed.
+ # Processed header files should not be distributed.
test ! -r $(distdir)/one.h
test ! -r $(distdir)/two.h
check-local: test0 test1 test2
cat > Makefile.am <<'END'
SUBDIRS = sub
test: distdir
- ls -l $(distdir) $(distdir)/* ;: For debugging.
+ ls -l $(distdir) $(distdir)/* # For debugging.
test -f $(distdir)/sub/zardoz
.PHONY: test
check-local: test
unindent >> Makefile.am <<'END'
SUBDIRS = subdir
test: distdir
- ls -l $(distdir) $(distdir)/* ;: For debugging.
- @echo am__dist_common = $(am__dist_common) ;: Likewise.
+ ls -l $(distdir) $(distdir)/* # For debugging.
+ @echo am__dist_common = $(am__dist_common) # Likewise.
echo ' ' $(am__dist_common) ' ' | grep '[ /]$(auxdir)foo.txt '
echo ' ' $(am__dist_common) ' ' | grep '[ /]$(auxdir)bar.sh '
echo ' ' $(am__dist_common) ' ' | grep '[ /]$(auxdir)zardoz '
.PHONY: test
test: distdir
- ls -l $(distdir) $(distdir)/*.dir ;: For debugging.
+ ls -l $(distdir) $(distdir)/*.dir # For debugging.
diff a.t $(distdir)/a.t
diff b.t $(distdir)/b.t
test ! -r $(distdir)/c.t
test ! -r $(distdir)/foo
diff _zardoz_ $(distdir)/_zardoz_
check-local:
- ls -l . *.dir ;: For debugging.
+ ls -l $(srcdir) $(srcdir)/*.dir # For debugging.
test -f $(srcdir)/a.t
test -f $(srcdir)/b.t
test ! -r $(srcdir)/c.t
pkgdata_DATA =
.PHONY: test
test: distdir
- find $(distdir) ;: For debugging.
+ find $(distdir) # For debugging.
echo ' ' $(am__dist_common) ' ' | grep '[ /]install-sh '
test -f $(distdir)/install-sh
END
chmod a-w $@-t && mv -f $@-t $@
test:
- ls -l $(srcdir) . ;: For debugging.
+ ls -l $(srcdir) . # For debugging.
test -f $(srcdir)/Foo.java
test -f $(srcdir)/Bar.java
test -f Foo2.java
test -f classjava.stamp
test-install:
- ls -l $(javadir) ;: For debugging.
+ ls -l $(javadir) # For debugging.
test -f '$(javadir)/bClass.class'
test -f '$(javadir)/aClass.class'
test -f '$(javadir)/Zardoz.class'
EXTRA_DIST = # Will be updated later.
test-built:
- ls -l $(srcdir) ;: For debugging.
- test $(srcdir) = . || ls -l . ;: Likewise.
+ ls -l $(srcdir) # For debugging.
+ test $(srcdir) = . || ls -l . # Likewise.
test -f $(srcdir)/Main.java
test -f $(srcdir)/HelloStream.java
test -f $(srcdir)/PkgLocation.jin
test -f classjava.stamp
test-installed:
- ls -l $(javadir) ;: For debugging.
+ ls -l $(javadir) # For debugging.
test -f $(javadir)/HelloStream.class
test -f $(javadir)/PkgLocation.class
test -f $(javadir)/Main.class
rm -f $@ $@-t
$(edit_script) $< >$@-t
chmod a-w $@-t && chmod a+x $@-t && mv -f $@-t $@
- sed 's/^/ | /' $@ ;: for debugging.
+ sed 's/^/ | /' $@ # For debugging.
EXTRA_DIST += jprog.sh
CLEANFILES = jprog
SUBDIRS = bin jprog tests
test-built:
- ls -l $(srcdir)/* ;: For debugging.
- test $(srcdir) = . || ls -l * ;: Likewise.
+ ls -l $(srcdir)/* # For debugging.
+ test $(srcdir) = . || ls -l * # Likewise.
test -f $(srcdir)/jprog/Main.java
test -f $(srcdir)/jprog/HelloStream.java
test -f $(srcdir)/jprog/PkgLocation.jin
test -f jprog/classjprogclass.stamp
test-installed:
- ls -l $(jprogclassdir) ;: For debugging.
+ ls -l $(jprogclassdir) # For debugging.
test -f $(jprogclassdir)/HelloStream.class
test -f $(jprogclassdir)/Main.class
test -f $(jprogclassdir)/PkgLocation.class
rm -f $@ $@-t
$(edit_script) $< >$@-t
chmod a-w $@-t && chmod a+x $@-t && mv -f $@-t $@
- sed 's/^/ | /' $@ ;: for debugging.
+ sed 's/^/ | /' $@ # For debugging.
EXTRA_DIST = jprog.sh
CLEANFILES = jprog
.PHONY: test-install
test-install:
- find $(prefix) ;: For debugging.
+ find $(prefix) # For debugging.
test -f $(javadir)/sub/subsub/Foo.class
test -f $(javadir)/sub/Bar.class
test -f $(javadir)/sub2/Baz.class
foo:
$(MAKE) all
notdry:
- @echo ":: $$MAKEFLAGS ::"; : For debugging.
+ @echo ":: $$MAKEFLAGS ::" # For debugging.
$(am__make_dryrun) && exit 1; exit 0
dry:
- +@echo ":: $$MAKEFLAGS ::"; : For debugging.
+ +@echo ":: $$MAKEFLAGS ::" # For debugging.
+$(am__make_dryrun) || exit 1; echo ok > from-dry-mode
END
nobase_my_PYTHON = two.py sub/nobase.py
test-install-data: install-data
- find inst -print; : For debugging.
+ find inst -print # For debugging.
test -f inst/my/one.py
test -f inst/my/one.pyc
test -f inst/my/two.py
installcheck-local: test
.PHONY: test
test:
- (cd '$(prefix)' && find .);: For debugging.
+ (cd '$(prefix)' && find .) # For debugging.
ls -l '$(libdir)/foo$(EXEEXT)'
test -f '$(libdir)/foo$(EXEEXT)'
test -x '$(libdir)/foo$(EXEEXT)'
edit_h = sed -e 's|[@]foovar@|@foovar@|g'
foo.h: foo.in.h
$(edit_h) < $(srcdir)/foo.in.h > $@-t
- cat $@-t;: For debugging.
+ cat $@-t # For debugging.
mv -f $@-t $@
EXTRA_DIST = foo.in.h
MOSTLYCLEANFILES = foo.h foo.h-t
$sleep
sed "s/%MAGIC3%/$magic3/" >> Makefile <<'END'
my-check:
- ls -l . $(srcdir) ;: For debugging.
+ ls -l . $(srcdir) # For debugging.
test -f $(srcdir)/quux.am
test -f $(srcdir)/quux.in
test -f $(srcdir)/bot.in
test -f $(srcdir)/top.in
test ! -r $(srcdir)/zardoz.am
test ! -r $(srcdir)/zardoz.in
- grep FOO zardoz ;: For debugging.
+ grep FOO zardoz # For debugging.
test x'$(FOO)' = x'%MAGIC3%'
test:
- ls -l ;: For debugging.
+ ls -l # For debugging.
test x'$(FOO)' = x'dummy'
.PHONY: test my-check
END
.PHONY: test-distdir test-build
test-distdir: distdir
- ls -l $(distdir) $(distdir)/* ;: For debugging.
+ ls -l $(distdir) $(distdir)/* # For debugging.
test ! -r $(distdir)/a.c
test -f $(distdir)/generic/a.c
test-build: all
- ls -l . generic ;: For debugging.
+ ls -l . generic # For debugging.
test -f generic/a.$(OBJEXT)
test -f wish$(EXEEXT)
test ! -r a.$(OBJEXT)
dist-hook:
test -d $(top_distdir)
test -d $(distdir)
- find $(top_distdir) $(distdir) ;: For debugging.
+ find $(top_distdir) $(distdir) # For debugging.
test -f $(top_distdir)/MU.c
test ! -f $(distdir)/MU.c
for suf in y c; do \
echo 'ok 1' >> $@-t
echo 'not ok 2 # TODO' >>$@-t
echo 'ok 3 # SKIP' >>$@-t
- cat $@-t ;: For debugging.
+ cat $@-t # For debugging.
mv -f $@-t $@
END
SUBDIRS = tests
check-local: test-top
test-top: distdir
- ls -l \$(distdir) \$(distdir)/* ;: For debugging.
+ ls -l \$(distdir) \$(distdir)/* # For debugging.
test -f \$(distdir)/$test_driver
.PHONY: test-top
END
pkglibexec_SCRIPTS = mu
test-install: install
- find $(prefix) ;: For debugging.
+ find $(prefix) # For debugging.
test -f $(bindir)/gnu-foo
test -x $(bindir)/gnu-foo
test -f $(datadir)/foo/bar.txt
test ! -d $(libexecdir)/gnu-foo
test-installdirs: installdirs
- find $(prefix) ;: For debugging.
+ find $(prefix) # For debugging.
test -d $(datadir)/foo
test ! -d $(datadir)/gnu-foo
test -d $(libdir)/foo