mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:53:23 +00:00
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>
This commit is contained in:
parent
43a8287779
commit
89c333e4b6
2 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@ Build-Depends: asciidoc,
|
||||||
qttools5-dev-tools,
|
qttools5-dev-tools,
|
||||||
qt5-qmake,
|
qt5-qmake,
|
||||||
libqt5svg5-dev,
|
libqt5svg5-dev,
|
||||||
|
libqt5webkit5-dev,
|
||||||
qtscript5-dev,
|
qtscript5-dev,
|
||||||
qt5-default
|
qt5-default
|
||||||
Standards-Version: 3.9.5
|
Standards-Version: 3.9.5
|
||||||
|
|
|
@ -17,6 +17,7 @@ fi
|
||||||
mkdir subsurface_$VERSION
|
mkdir subsurface_$VERSION
|
||||||
(cd subsurface ; tar cf - . ) | (cd subsurface_$VERSION ; tar xf - )
|
(cd subsurface ; tar cf - . ) | (cd subsurface_$VERSION ; tar xf - )
|
||||||
cd subsurface_$VERSION
|
cd subsurface_$VERSION
|
||||||
|
rm -rf .git libdivecomputer/.git libgit2/.git
|
||||||
echo $GITVERSION > .gitversion
|
echo $GITVERSION > .gitversion
|
||||||
|
|
||||||
dh_make --email dirk@hohndel.org -c gpl2 --createorig --single --yes -p subsurface_$VERSION
|
dh_make --email dirk@hohndel.org -c gpl2 --createorig --single --yes -p subsurface_$VERSION
|
||||||
|
|
Loading…
Add table
Reference in a new issue