~ubuntu-branches/ubuntu/vivid/cctools/vivid

« back to all changes in this revision

Viewing changes to makeflow/example/example.makeflow

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2011-05-07 09:05:00 UTC
  • Revision ID: james.westby@ubuntu.com-20110507090500-lqpmdtwndor6e7os
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# This is a sample Makeflow script that retrieves an image from the web,
 
3
# creates four variations of it, and then combines them into an animation.
 
4
# A Makeflow script is a subset of the Makefile language, see the manual
 
5
# for more information.
 
6
#
 
7
 
 
8
CURL=/usr/bin/curl
 
9
CONVERT=/usr/bin/convert
 
10
URL=http://www.cse.nd.edu/~ccl/images/capitol.jpg
 
11
 
 
12
capitol.montage.gif: capitol.jpg capitol.90.jpg capitol.180.jpg capitol.270.jpg capitol.360.jpg
 
13
        $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
 
14
 
 
15
capitol.90.jpg: capitol.jpg
 
16
        $CONVERT -swirl 90 capitol.jpg capitol.90.jpg
 
17
 
 
18
capitol.180.jpg: capitol.jpg
 
19
        $CONVERT -swirl 180 capitol.jpg capitol.180.jpg
 
20
 
 
21
capitol.270.jpg: capitol.jpg
 
22
        $CONVERT -swirl 270 capitol.jpg capitol.270.jpg
 
23
 
 
24
capitol.360.jpg: capitol.jpg
 
25
        $CONVERT -swirl 360 capitol.jpg capitol.360.jpg
 
26
 
 
27
capitol.jpg:
 
28
        $CURL -o capitol.jpg $URL
 
29