File: 2004_05_04_double_dollar.test

package info (click to toggle)
makepp 2.0.98.5-2.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,744 kB
  • sloc: perl: 15,893; makefile: 38; javascript: 25; sh: 1
file content (23 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
###	SPAR <http://www.cpan.org/scripts/>
###	1	644	1103317920	1208344763	is_relevant.pl
is_windows < 2
###	13	644	1083646809	1083646829	Makeppfile
#
# Test bug reported by Ian Zimmerman where $$ didn't work if
# rc_substitution := 0 (changed to makepp_simple_concatenation).
#

makepp_simple_concatenation := 1

$(phony all): xyz_val

XYZ_VAL := $(shell eval `./get_xyz`; echo $$XYZ)

xyz_val :
	&echo $(XYZ_VAL) -o $@
###	2	755	1083646727	1083646727	get_xyz
#!/bin/sh
echo XYZ=abc
###	D	755	1083646856	1083646858	answers/
###	1	644	1083646851	1083646851	answers/xyz_val
abc