File: CURDIR

package info (click to toggle)
make-doc-non-dfsg 4.0-2
  • links: PTS, VCS
  • area: non-free
  • in suites: jessie, jessie-kfreebsd
  • size: 7,460 kB
  • ctags: 2,038
  • sloc: ansic: 26,371; sh: 4,962; perl: 1,135; makefile: 168; lisp: 26; sed: 16
file content (20 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (36)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#                                                                    -*-perl-*-

$description = "This tests the CURDIR varaible.";

$details = "Echo CURDIR both with and without -C.  Also ensure overrides work.";

open(MAKEFILE,"> $makefile");
print MAKEFILE "all: ; \@echo \$(CURDIR)\n";
close(MAKEFILE);


# TEST #1
# -------

&run_make_with_options($makefile,"",&get_logfile);
$answer = "$pwd\n";
&compare_output($answer,&get_logfile(1));


1;