[X2Go-Commits] [nx-libs] 07/52: Move Makefile (and auxiliary file replace.sh) into base folder. Adapt packaging these scripts:
git-admin at x2go.org
git-admin at x2go.org
Sat Feb 14 17:47:03 CET 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 ea8ca04a7cb478c6c379e64e5db655fff9c0e15a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sat Feb 14 15:08:07 2015 +0100
Move Makefile (and auxiliary file replace.sh) into base folder. Adapt packaging these scripts:
debian/roll-tarballs.sh
debian/rules
nx-libs.spec
---
debian/Makefile.nx-libs => Makefile | 0
debian/roll-tarballs.sh | 5 -----
debian/rules | 5 +----
nx-libs.spec | 2 --
debian/Makefile.replace.sh => replace.sh | 0
5 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/debian/Makefile.nx-libs b/Makefile
similarity index 100%
rename from debian/Makefile.nx-libs
rename to Makefile
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index 3ff7667..02a25df 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -34,7 +34,6 @@ PROJECT="nx-libs"
NULL=""
test -d .git || usage
-test -f debian/Makefile.nx-libs || usage
RELEASE="$1"
test -n "${RELEASE}" || usage
CHECKOUT="$2"
@@ -135,10 +134,6 @@ fi
mv -v debian/changelog doc/changelog
-# copy the top-level makefile if no quilt patch created it before
-test -f Makefile || test -f debian/Makefile.nx-libs && cp -v debian/Makefile.nx-libs Makefile
-test -f replace.sh || test -f debian/Makefile.replace.sh && cp -v debian/Makefile.replace.sh replace.sh
-
# remove folders that we do not want to roll into the tarball
rm -Rf ".pc/"
rm -Rf "debian/"
diff --git a/debian/rules b/debian/rules
index b38d8a0..ad9ddde 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,9 +23,8 @@ override_dh_clean:
rm -f doc/changelog
rm -f nx-X11/programs/Xserver/hw/nxagent/changelog
rm -f nx-X11/programs/nxauth/changelog
- if [ ! -f replace.sh ] && [ ! -h replace.sh ]; then ln -s debian/Makefile.replace.sh replace.sh; fi
. ./replace.sh; set -x; ls debian/*.install.in | while read file; do rm -f $$(string_rep $$file .install.in .install); done
- rm -fR replace.sh Makefile bin etc/rgb VERSION.x2goagent etc/keystrokes.cfg etc/nxagent.keyboard etc/x2goagent.keyboard
+ rm -fR bin etc/rgb VERSION.x2goagent etc/keystrokes.cfg etc/nxagent.keyboard etc/x2goagent.keyboard
rm -f debian/libnx-xinerama1.postinst
rm -fR .preserve/
if [ -f nxcomp/.VERSION.NoMachine ]; then mv nxcomp/.VERSION.NoMachine nxcomp/VERSION; fi
@@ -98,8 +97,6 @@ override_dh_auto_build:
cp -a nx-X11/programs/Xserver/hw/nxagent/CHANGELOG nx-X11/programs/Xserver/hw/nxagent/changelog
cp -a nx-X11/programs/nxauth/CHANGELOG nx-X11/programs/nxauth/changelog
cp -a nxproxy/CHANGELOG nxproxy/changelog
- ln -s debian/Makefile.nx-libs Makefile
- ln -s debian/Makefile.replace.sh replace.sh
ln -s debian/wrappers bin
mkdir -p etc/
ln -s ../debian/keystrokes.cfg etc/keystrokes.cfg
diff --git a/nx-libs.spec b/nx-libs.spec
index 3188723..b5ac8d9 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -665,8 +665,6 @@ mkdir bin/
cp -v debian/wrappers/* bin/
mkdir etc/
cp -v debian/keystrokes.cfg etc/keystrokes.cfg
-cp -v debian/Makefile.nx-libs Makefile
-cp -v debian/Makefile.replace.sh replace.sh
cp -v debian/rgb etc/rgb
cp -v debian/nxagent.keyboard etc/nxagent.keyboard
cp -v debian/x2goagent.keyboard etc/x2goagent.keyboard
diff --git a/debian/Makefile.replace.sh b/replace.sh
similarity index 100%
rename from debian/Makefile.replace.sh
rename to replace.sh
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list