From b3ece6448e5f5bf979395b7f98be979961413ee8 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 28 May 2015 12:55:34 +0200 Subject: debian/roll-tarball.sh: Make sure *.keyboard, debian/**, nx-libs.spec, .pc/** don't end up in tarball (special focuse on the nx-libs-lite tarball). --- debian/roll-tarballs.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'debian/roll-tarballs.sh') diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh index d091b9071..e5dd8e6b3 100755 --- a/debian/roll-tarballs.sh +++ b/debian/roll-tarballs.sh @@ -104,8 +104,6 @@ else fi cp -v "debian/VERSION" "./nxcomp/VERSION" cp -v "debian/COPYING.full+lite" "COPYING" -cp -v "debian/nxagent.keyboard" "nxagent.keyboard" -cp -v "debian/x2goagent.keyboard" "x2goagent.keyboard" # apply all patches shipped in debian/patches and create a copy of them that we ship with the tarball if [ -s "doc/applied-patches/series" ]; then @@ -149,10 +147,6 @@ if [ "x$MODE" = "xfull" ]; then PRESERVE_INCLUDED_FILES="$(cat "debian/CODE-REDUCTION_PRESERVE-INCLUDED")" PRESERVE_NEEDED_FILES="$(cat "debian/CODE-REDUCTION_PRESERVE-NEEDED")" - # remove folders that we do not want to roll into the tarball - rm -Rf ".pc/" - rm -Rf "debian/" - mkdir -p ".preserve/" for path in ${PRESERVE_SYMLINKED_FILES} ${PRESERVE_INCLUDED_FILES} ${PRESERVE_NEEDED_FILES}; do if [ ! -d "$path" ]; then @@ -173,6 +167,11 @@ if [ "x$MODE" = "xfull" ]; then rm -Rf ".preserve/" fi +# remove files/folders that we do not want to roll into the tarball +rm -Rf ".pc/" +rm -Rf "debian/" +rm -f "nx-libs.spec" + # remove files, that we do not want in the tarballs (build cruft) rm -Rf nx*/configure nx*/autom4te.cache* -- cgit v1.2.3