File: testcase.subdir.07.makeflow

package info (click to toggle)
cctools 1%3A7.15.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 40,008 kB
  • sloc: ansic: 117,215; python: 30,569; cpp: 20,301; sh: 13,834; perl: 4,056; xml: 3,688; makefile: 1,502
file content (10 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10

MAKEFLOW_INPUTS=input
MAKEFLOW_OUTPUTS=mydir mydir/1.txt mydir/3.txt

# second rule should not have to create 'mydir' in its command
mydir mydir/1.txt: input
	mkdir -p mydir; cp input/hello mydir/1.txt; cp input/hello mydir/2.txt

mydir/3.txt: mydir/1.txt
	echo hello > mydir/3.txt; cat mydir/1.txt > mydir/3.txt