File: testcase.subdir.07.makeflow

package info (click to toggle)
cctools 3.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,704 kB
  • sloc: ansic: 49,398; cpp: 15,568; perl: 12,324; sh: 2,668; python: 1,422; makefile: 632; yacc: 433; lex: 152; xml: 109
file content (6 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
# 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