+1 from me

On Mi 12 Dez 2012 13:13:15 CET Reinhard Tartler wrote:

this makes debian/rules a bit easier to read
---
 debian/pre-build-nx.sh |   12 ------------
 debian/rules           |    9 ++++++++-
 2 files changed, 8 insertions(+), 13 deletions(-)
 delete mode 100755 debian/pre-build-nx.sh

diff --git a/debian/pre-build-nx.sh b/debian/pre-build-nx.sh
deleted file mode 100755
index 59a8a47..0000000
--- a/debian/pre-build-nx.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-# create copies of upstream changelogs so that names apply to Debian policy...
-cp -a nx-X11/CHANGELOG nx-X11/changelog
-cp -a nxcomp/CHANGELOG nxcomp/changelog
-cp -a nxcompext/CHANGELOG nxcompext/changelog
-cp -a nxcompshad/CHANGELOG nxcompshad/changelog
-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
-
-exit 0
diff --git a/debian/rules b/debian/rules
index cbd600a..79ca44f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,14 @@ override_dh_clean:
        dh_clean

 override_dh_auto_build:
-       debian/pre-build-nx.sh
+ # create copies of upstream changelogs so that names apply to Debian policy...
+       cp -a nx-X11/CHANGELOG nx-X11/changelog
+       cp -a nxcomp/CHANGELOG nxcomp/changelog
+       cp -a nxcompext/CHANGELOG nxcompext/changelog
+       cp -a nxcompshad/CHANGELOG nxcompshad/changelog
+ 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
LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_build --with quilt
        debian/post-build-nx.sh

--
1.7.10.4

_______________________________________________
X2Go-Dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev




--

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: [email protected], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgpJw3K1DKYG5.pgp
Description: Digitale PGP-Unterschrift

_______________________________________________
X2Go-Dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to