Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.
[make.git] / tests / scripts / variables / MAKE
blobdc621606ed3b2bd64a561607e325f4ff2bdd2bec
1 #                                                                    -*-perl-*-
3 $description = "Test proper behavior of the MAKE variable";
5 $details = "DETAILS";
7 run_make_test(q!
8 TMP  := $(MAKE)
9 MAKE := $(subst X=$(X),,$(MAKE))
10 all:
11         @echo $(TMP)
12         $(MAKE) -f #MAKEFILE# foo
14 foo:
15         @echo $(MAKE)
17               '',
18               "#MAKEPATH#\n#MAKEPATH# -f #MAKEFILE# foo\n"
19               . "#MAKE#[1]: Entering directory '#PWD#'\n"
20               . "#MAKEPATH#\n#MAKE#[1]: Leaving directory '#PWD#'\n");
22 rmfiles("foo");