xref: /freebsd/usr.bin/bmake/tests/shell/meta/Makefile.test (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
1#
2# In compat mode (the default without -j) a line that contains no shell
3# meta characters and no shell builtins is not passed to the shell but
4# executed directly. In our example the ls line without meta characters
5# will really execute ls, while the line with meta characters will execute
6# our special shell.
7#
8# $FreeBSD$
9
10.SHELL: path="${.OBJDIR}/sh"
11
12.PHONY: meta no-meta
13
14meta:
15	@ls *
16
17no-meta:
18	@ls -d .
19