File: 2004_01_21_repository_build.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 (28 lines) | stat: -rw-r--r-- 767 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
24
25
26
27
28
###	SPAR <http://www.cpan.org/scripts/>
###	17	644	1074727871	1074727839	Makeppfile
FOO := $(wildcard */x)

repository rep

BAR := $(wildcard ./*x)

# At this point, we think that we can build ./x by grabbing it from the
# repository, but we can't because it hasn't been built there.

y: $(BAR)
	&echo $^ -o $@

# This is needed to invoke the ADDITIONAL_DEPENDENCIES clause for the
# DefaultRule class. Otherwise, makepp dies because it can't build ./x
# when it needs to, even though it thought that it could when it computed
# $(BAR).
x: xx
###	D	755	1074727871	1074727871	answers
###	1	644	1074727886	1074727854	answers/y
xx
###	D	755	1074727871	1074727871	rep
###	2	644	1074724642	1074724550	rep/Makeppfile
x:
	&echo X -o $@
###	1	644	1074727515	1074727482	xx
XX