summaryrefslogtreecommitdiff
path: root/usr.bin/bmake/tests/shell/meta/Makefile.test
blob: fbee949acc5d4276d42cb3339e6fa3114dd48611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# In compat mode (the default without -j) a line that contains no shell
# meta characters and no shell builtins is not passed to the shell but
# executed directly. In our example the ls line without meta characters
# will really execute ls, while the line with meta characters will execute
# our special shell.
#

.SHELL: path="${.OBJDIR}/sh"

.PHONY: meta no-meta

meta:
	@ls *

no-meta:
	@ls -d .