diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-11-19 16:10:28 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-11-19 16:10:28 +0100 |
commit | d031104737be739498a4de7b3c20fe178f909e03 (patch) | |
tree | e91e21abc5d90713624732d8501a78b23be6157d /debian/rules | |
parent | 65f882e05bcd8a1a273e5c0fb237d215666c946e (diff) | |
download | nx-libs-d031104737be739498a4de7b3c20fe178f909e03.tar.gz nx-libs-d031104737be739498a4de7b3c20fe178f909e03.tar.bz2 nx-libs-d031104737be739498a4de7b3c20fe178f909e03.zip |
add /debian folder
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..ca5396072 --- /dev/null +++ b/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +%: + LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh $@ + +override_dh_auto_clean: + rm -Rf nx-X11/.build-exports + LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_clean + +override_dh_auto_build: + debian/pre-build-nx.sh + LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_build + debian/post-build-nx.sh + +override_dh_auto_install: + |