summaryrefslogtreecommitdiffstats
path: root/packaging/ubuntu/make-package.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-02 22:01:07 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-02 22:11:23 -0800
commit89c333e4b6cbfaaaccabcf5bf967d49036680fbe (patch)
tree44bc2c3982cebc9e1cf41f9cd46dd62d0029b5e7 /packaging/ubuntu/make-package.sh
parent43a82877797a6f32c39994b09a0d227824ff1a0b (diff)
downloadsubsurface-89c333e4b6cbfaaaccabcf5bf967d49036680fbe.tar.gz
Ubuntu packaging: remove .git trees from sources
Oops, I thought I had done that but that was flat out wrong. Now the source upload shrinks from over 70MB to around 26MB. Much better. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ubuntu/make-package.sh')
-rw-r--r--packaging/ubuntu/make-package.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/ubuntu/make-package.sh b/packaging/ubuntu/make-package.sh
index fa569d5ed..71daff1ae 100644
--- a/packaging/ubuntu/make-package.sh
+++ b/packaging/ubuntu/make-package.sh
@@ -17,6 +17,7 @@ fi
mkdir subsurface_$VERSION
(cd subsurface ; tar cf - . ) | (cd subsurface_$VERSION ; tar xf - )
cd subsurface_$VERSION
+rm -rf .git libdivecomputer/.git libgit2/.git
echo $GITVERSION > .gitversion
dh_make --email dirk@hohndel.org -c gpl2 --createorig --single --yes -p subsurface_$VERSION