Commit 954557e9 authored by Mike Gabriel's avatar Mike Gabriel

Add main Makefile via patch: 001_add-main-makefile.patch.

parent 4076b413
...@@ -3,5 +3,6 @@ nx-libs (2:3.5.0-0~x2go1) UNRELEASED; urgency=low ...@@ -3,5 +3,6 @@ nx-libs (2:3.5.0-0~x2go1) UNRELEASED; urgency=low
* Initial release. * Initial release.
* Use NX adapted LD_LIBRARY_PATH in debian/rules. * Use NX adapted LD_LIBRARY_PATH in debian/rules.
* Add quilt as build dependency. * Add quilt as build dependency.
* Add main Makefile via patch: 001_add-main-makefile.patch.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 14 Oct 2011 03:01:39 +0200 -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 14 Oct 2011 03:01:39 +0200
Add main Makefile to build all NX subprojects in this source tree.--- /dev/null
+++ b/Makefile
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+
+all: build
+
+build: build-arch build-indep
+
+clean:
+ cd nx-X11 && test -f Makefile && make $@ || true
+ cd nxcomp && test -f Makefile && make $@ || true
+ cd nxcompext && test -f Makefile && make $@ || true
+ cd nxcompshad && test -f Makefile && make $@ || true
+ cd nxproxy && test -f Makefile && make $@ || true
+
+
+distclean:
+ cd nx-X11 && test -f Makefile && make clean || true
+ cd nxcomp && test -f Makefile && make $@ || true
+ cd nxcompext && test -f Makefile && make $@ || true
+ cd nxcompshad && test -f Makefile && make $@ || true
+ cd nxproxy && test -f Makefile && make $@ || true
+
+build-arch:
+ cd nxcomp && autoconf
+ cd nxcompext && autoconf
+ cd nxcompshad && autoconf
+ cd nx-X11 && make World
+ cd nxproxy && autoconf
+
+build-indep:
+
+install:
+
+uninstall:
001_add-main-makefile.patch
...@@ -9,16 +9,22 @@ else ...@@ -9,16 +9,22 @@ else
endif endif
%: %:
LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh $@ LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh $@ --with quilt
override_dh_auto_clean: override_dh_auto_clean:
rm -Rf nx-X11/.build-exports rm -Rf nx-X11/.build-exports
LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_clean LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_clean --with quilt
override_dh_auto_build: override_dh_auto_build:
debian/pre-build-nx.sh debian/pre-build-nx.sh
LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_build LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_build --with quilt
debian/post-build-nx.sh debian/post-build-nx.sh
override_dh_auto_install: override_dh_auto_install:
override_dh_quilt_patch:
dh_quilt_patch
chown a+x Makefile
override_dh_quilt_unpatch:
dh_quilt_unpatch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment