<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>README</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,10 @@
 .PHONY = dist
 
 dist: names.dat dict_en.dat.gz manual.pdf
-	./gen_linux_dist.sh
+	./gen_linux_dist.sh linux
+
+src:
+	./gen_linux_dist.sh src
 
 names.dat: names.txt
 	cd tools &amp;&amp; ./make_names.py</diff>
      <filename>Makefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,7 @@
 #!/bin/bash
+#
+# this script handles preparing either the source package or the linux
+# installable package
 
 set -eu
 
@@ -8,14 +11,21 @@ DIR=&quot;linux-dist/blyte-$VER&quot;
 rm -rf linux-dist
 mkdir -p $DIR
 
-cp *.py icon16.png icon32.png logo.jpg names.dat dict_en.dat.gz sample.blyte manual.pdf fileformat.txt LICENSE INSTALL $DIR
-rm $DIR/setup.py
-cp Makefile.install $DIR/Makefile
+if test $1 = &quot;src&quot;; then
+ FNAME=&quot;blyte-src-$VER.tar&quot;
+ svn export --force . $DIR
+else
+ FNAME=&quot;blyte-$VER.tar&quot;
+ cp *.py icon16.png icon32.png logo.jpg names.dat dict_en.dat.gz sample.blyte manual.pdf fileformat.txt LICENSE INSTALL $DIR
+ rm $DIR/setup.py
+ cp Makefile.install $DIR/Makefile
+fi
+
 cd linux-dist
-tar cvf &quot;blyte-$VER.tar&quot; &quot;blyte-$VER&quot;
-gzip -9 &quot;blyte-$VER.tar&quot;
+tar cvf $FNAME &quot;blyte-$VER&quot;
+gzip -9 $FNAME
 
-mv &quot;blyte-$VER.tar.gz&quot; ..
+mv &quot;${FNAME}.gz&quot; ..
 
 cd ..
 rm -rf linux-dist</diff>
      <filename>gen_linux_dist.sh</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4bc673621ecc3daa9cf94467fe799254149861c9</id>
    </parent>
  </parents>
  <author>
    <name>Osku Salerma</name>
    <email>osku@iki.fi</email>
  </author>
  <url>http://github.com/oskusalerma/blyte/commit/00ab910a1ae6c4ab87fa5567e115b3df3680a0ce</url>
  <id>00ab910a1ae6c4ab87fa5567e115b3df3680a0ce</id>
  <committed-date>2006-07-28T04:23:54-07:00</committed-date>
  <authored-date>2006-07-28T04:23:54-07:00</authored-date>
  <message>Add README and source package generation.</message>
  <tree>f7204757fa22bc143811e48a3e7d5d4fb337fe92</tree>
  <committer>
    <name>Osku Salerma</name>
    <email>osku@iki.fi</email>
  </committer>
</commit>
