summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/tests/shell/path_select/Makefile.test
blob: 05cfb27f3fd9a64751718b99e8aafc03911a6b10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# Change the path for builtin shells. There are two methods to do this.
# This is the second of them when both a path and a name are specified.
# This selects a builtin shell according to the name, but executes it
# from the specified path.
#
# Be sure to include a meta-character into the command line, so that
# really our shell is executed.
#
# $FreeBSD$
#

.ifmake sh_test

.SHELL: name=sh path=${.CURDIR}/shell
sh_test:
	@: This is the shell.

.elifmake csh_test

.SHELL: name=csh path=${.CURDIR}/shell
csh_test:
	@: This is the C-shell.

.elifmake ksh_test

.SHELL: name=ksh path=${.CURDIR}/shell
ksh_test:
	@: This is the Korn-shell.

.endif
OpenPOWER on IntegriCloud