[X2Go-Commits] [nx-libs] 27/53: debian/roll-tarball.sh: Prevent several files/folders from ending up in nx-libs-lite tarball.
git-admin at x2go.org
git-admin at x2go.org
Tue Sep 22 15:10:42 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 47afc48ea312b3ab7a5138c15271942103ec3fee
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu May 28 14:33:08 2015 +0200
debian/roll-tarball.sh: Prevent several files/folders from ending up in nx-libs-lite tarball.
* bin/{nxagent,nxauth,x2goagent}
* etc/
* doc/nx-X11_vs_XOrg69_patches
* README.keystrokes"
* nx-libs.spec
---
debian/roll-tarballs.sh | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index ff777bd..3e41092 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -87,9 +87,13 @@ if [ "x$MODE" = "xfull" ]; then
echo "${file##*/}" >> "doc/applied-patches/series"
done
else
+ rm -f "bin/"{nxagent,nxauth,x2goagent}
rm -Rf "nxcompshad"*
rm -Rf "nxcompext"*
rm -Rf "nx-X11"*
+ rm -Rf "etc"*
+ rm -Rf "doc/nx-X11_vs_XOrg69_patches"*
+ rm -f "README.keystrokes"
cat "debian/patches/series" | sort | grep -v '^#' | egrep "([0-9]+(_|-).*\.full\+lite\.patch)" | while read file
do
cp -v "debian/patches/$file" "doc/applied-patches/"
@@ -104,15 +108,16 @@ else
echo "No patches applied at all. Very old release?"
fi
+# remove folders that we do not want to roll into the tarball
+rm -Rf ".pc/"
+rm -Rf "debian/"
+rm -Rf "nx-libs.spec"
+
# very old release did not add any README
for f in $(ls README* 2>/dev/null); do
mv -v "$f" "doc/";
done
-# remove folders that we do not want to roll into the tarball
-rm -Rf ".pc/"
-rm -Rf "debian/"
-
# remove files, that we do not want in the tarballs (build cruft)
rm -Rf nx*/configure nx*/autom4te.cache*
--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list