8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
1 |
<!-- This is an Ant build file; you'll need to install Ant before using it. -->
|
21
|
2 |
<project name="blob" default="usage">
|
8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
3 |
<target name="init">
|
21
|
4 |
<property name="arxivTarFile" value="blob.tar"/>
|
8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
5 |
</target>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
6 |
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
7 |
<!-- USAGE -->
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
8 |
<!-- Instructions for using the build file -->
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
9 |
<!-- =================================================================== -->
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
10 |
<target name = "usage" depends = "init">
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
11 |
<echo message = ""/>
|
21
|
12 |
<echo message = "blob build instructions"/>
|
8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
13 |
<echo message = "-------------------------------------------------------------"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
14 |
<echo message = ""/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
15 |
<echo message = " available targets are:"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
16 |
<echo message = ""/>
|
21
|
17 |
<echo message = " arxiv --> builds blob.tar.gz, for submission to the arxiv"/>
|
|
18 |
<echo message = " dvi --> builds blob.dvi"/>
|
|
19 |
<echo message = " ps --> builds blob.ps"/>
|
|
20 |
<echo message = " pdf --> builds blob.pdf"/>
|
8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
21 |
<echo message = ""/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
22 |
<echo message = "-------------------------------------------------------------"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
23 |
<echo message = ""/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
24 |
</target>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
25 |
<!-- =================================================================== -->
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
26 |
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
27 |
<target name="clean" depends="init">
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
28 |
<delete>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
29 |
<fileset dir=".">
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
30 |
<include name="*.toc"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
31 |
<include name="*.log"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
32 |
<include name="*.aux"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
33 |
<include name="*.blg"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
34 |
<include name="*.xyc"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
35 |
<include name="*.out"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
36 |
</fileset>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
37 |
</delete>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
38 |
</target>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
39 |
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
40 |
<target name="arxiv" depends="clean">
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
41 |
<delete file="${arxivTarFile}"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
42 |
<delete file="${arxivTarFile}.gz"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
43 |
<tar destfile="${arxivTarFile}" basedir="." includes="**"
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
44 |
excludes="*.dvi,*.ps,*.pdf,*.png,${arxivTarFile},${arxivTarFile}.gz,sandbox.*,bibliography/**,papers/**,talks/**,diagrams/pdf/**,diagrams/latex2pdf/**,diagrams/*"
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
45 |
/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
46 |
<gzip src="${arxivTarFile}" destfile="${arxivTarFile}.gz"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
47 |
<delete file="${arxivTarFile}"/>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
48 |
</target>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
49 |
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
50 |
<target name="bbl" depends="init">
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
51 |
<exec executable="latex">
|
21
|
52 |
<arg value="blob1"/>
|
8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
53 |
</exec>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
54 |
<exec executable="bibtex">
|
21
|
55 |
<arg value="blob1"/>
|
8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
56 |
</exec>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
57 |
</target>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
58 |
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
59 |
<target name="dvi" depends="bbl">
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
60 |
<exec executable="latex">
|
21
|
61 |
<arg value="blob1"/>
|
8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
62 |
</exec>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
63 |
<exec executable="latex">
|
21
|
64 |
<arg value="blob1"/>
|
8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
65 |
</exec>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
66 |
</target>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
67 |
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
68 |
<target name="ps" depends="dvi">
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
69 |
<exec executable="dvips">
|
21
|
70 |
<arg value="blob1"/>
|
8
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
71 |
</exec>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
72 |
</target>
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
73 |
|
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff
changeset
|
74 |
<target name="pdf" depends="ps">
|
|