From 89c333e4b6cbfaaaccabcf5bf967d49036680fbe Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 2 Dec 2014 22:01:07 -0800 Subject: 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 --- packaging/ubuntu/control | 1 + packaging/ubuntu/make-package.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/packaging/ubuntu/control b/packaging/ubuntu/control index 8e95c95bc..874f25c2d 100644 --- a/packaging/ubuntu/control +++ b/packaging/ubuntu/control @@ -25,6 +25,7 @@ Build-Depends: asciidoc, qttools5-dev-tools, qt5-qmake, libqt5svg5-dev, + libqt5webkit5-dev, qtscript5-dev, qt5-default Standards-Version: 3.9.5 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 -- cgit v1.2.3-70-g09d2