<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 #!/bin/sh
-# Build all files to upload to PPA.
+# Build all files to upload to PPA or .deb package (call with deb argument).
 
 version=`cat debian/control | grep ^Standards-Version: | awk '{print $2}'`
 dir=gedit-gmate-$version
@@ -18,13 +18,19 @@ rm -Rf .git
 rm -Rf build
 for file in `find . -name \*.gitignore`; do cp -R $file ./; done
 
-debuild
+if [ 'deb' = &quot;$1&quot; ]; then
+    debuild
+else
+    debuild -S
+fi
 
 cd ..
 rm -R $dir
 
-for file in `ls ./ | grep -v .deb`; do
-    rm $file
-done
+if [ 'deb' = &quot;$1&quot; ]; then
+    for file in `ls ./ | grep -v .deb`; do
+        rm $file
+    done
+fi
 
 cd ..</diff>
      <filename>create-release.sh</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>723c948077719906c919bed73fd1a780caa31f03</id>
    </parent>
  </parents>
  <author>
    <name>Andrey A.I. Sitnik</name>
    <email>andrey@sitnik.ru</email>
  </author>
  <url>http://github.com/lexrupy/gmate/commit/c942b7191db8341c99f2feed1ff2e44af1de1249</url>
  <id>c942b7191db8341c99f2feed1ff2e44af1de1249</id>
  <committed-date>2009-10-26T10:56:19-07:00</committed-date>
  <authored-date>2009-10-26T10:56:19-07:00</authored-date>
  <message>Add argument to generate deb package or files to PPA</message>
  <tree>c715fdce91da06a2941930b99c6c3c6f58ffd2fc</tree>
  <committer>
    <name>Andrey A.I. Sitnik</name>
    <email>andrey@sitnik.ru</email>
  </committer>
</commit>
