gen 464 Bytes
Newer Older
1
#!/bin/sh
2

3
for i in 3 4 5 6 8; do
4
5
6
7
8
9
  dst=models/WCSasym$i.rg

  echo
  echo "MODELS += $dst/stamp"
  echo "$dst/stamp: $name/WCSasym$i.def $name/WCSasym$i.net $name/WCSasym$i.tobs"
  echo "	mkdir -p $dst"
10
  for e in def net tobs; do
11
12
    echo "	cp '\$(srcdir)/$name/WCSasym$i.$e' '$dst/WCSasym$i.rg.$e'"
    S="$S $name/WCSasym$i.$e"
13
  done
14
15
  echo "	echo 'P1 P2 P3 P4 P5 P6 P7 P8' > $dst/WCSasym$i.rg.ap"
  echo '	touch $@'
16
done
17
18
echo
echo "TEMPLATES +=$S $name/gen"