diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-12-02 22:01:07 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-02 22:11:23 -0800 |
commit | 89c333e4b6cbfaaaccabcf5bf967d49036680fbe (patch) | |
tree | 44bc2c3982cebc9e1cf41f9cd46dd62d0029b5e7 /packaging/ubuntu/make-package.sh | |
parent | 43a82877797a6f32c39994b09a0d227824ff1a0b (diff) | |
download | subsurface-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.sh | 1 |
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 |