File: test.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 (33 lines) | stat: -rw-r--r-- 1,079 bytes parent folder | download | duplicates (2)
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
29
30
31
32
33
# test.makeflow: Example makeflow from cctools website.
#
# Expected test case results: Success.
#
# Created by Kevin Partington, 22 February 2010
# Copyright 2010 The University of Notre Dame. All rights reserved. See file
# COPYING for details.

CURL=/usr/bin/curl
CONVERT=/usr/bin/convert
URL=https://ccl.cse.nd.edu/images/capitol.jpg

MAKEFLOW_INPUTS=$CURL
MAKEFLOW_OUTPUTS="capitol.montage.gif"

capitol.montage.gif: capitol.jpg capitol.90.jpg capitol.180.jpg capitol.270.jpg capitol.360.jpg $CONVERT
	$CONVERT -delay 10 -loop 0 capitol.jpg capitol.90.jpg capitol.180.jpg capitol.270.jpg capitol.360.jpg capitol.270.jpg capitol.180.jpg capitol.90.jpg capitol.montage.gif

capitol.90.jpg: capitol.jpg $CONVERT
	$CONVERT -swirl 90 capitol.jpg capitol.90.jpg

capitol.180.jpg: capitol.jpg $CONVERT
	$CONVERT -swirl 180 capitol.jpg capitol.180.jpg

capitol.270.jpg: capitol.jpg $CONVERT
	$CONVERT -swirl 270 capitol.jpg capitol.270.jpg

capitol.360.jpg: capitol.jpg $CONVERT
	$CONVERT -swirl 360 capitol.jpg capitol.360.jpg

capitol.jpg: $CURL
	LOCAL $CURL -o capitol.jpg $URL