aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/001_add-main-makefile.full+lite.patch
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-02-22 22:49:06 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-02-22 22:49:06 +0100
commit0586f0d6e83cfa9ea12a3bf6a0015a4e84d09ae2 (patch)
treed10c7648b8e72a5ffcf1dfea8cb5777990ec2425 /debian/patches/001_add-main-makefile.full+lite.patch
parenta8bf2dd819ac55535b11e38848ffc9b076a5d307 (diff)
downloadnx-libs-0586f0d6e83cfa9ea12a3bf6a0015a4e84d09ae2.tar.gz
nx-libs-0586f0d6e83cfa9ea12a3bf6a0015a4e84d09ae2.tar.bz2
nx-libs-0586f0d6e83cfa9ea12a3bf6a0015a4e84d09ae2.zip
Update patch: 001_add-main-makefile.full+lite.patch, adapt patch from packaging. Test for Makefiles in subfolders before calling them. Fixes build failure during ,,make distclean'' calls.
Diffstat (limited to 'debian/patches/001_add-main-makefile.full+lite.patch')
-rw-r--r--debian/patches/001_add-main-makefile.full+lite.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches/001_add-main-makefile.full+lite.patch b/debian/patches/001_add-main-makefile.full+lite.patch
index 3c236b9f2..fffa4dc42 100644
--- a/debian/patches/001_add-main-makefile.full+lite.patch
+++ b/debian/patches/001_add-main-makefile.full+lite.patch
@@ -11,12 +11,12 @@ Last-Update: 2011-12-31
+CONFIGURE=./configure
+
+%:
-+ ${MAKE} -C nxcomp $@
-+ ${MAKE} -C nxproxy $@
++ if test -f nxcomp/Makefile; then ${MAKE} -C nxcomp $@; fi
++ if test -f nxproxy/Makefile; then ${MAKE} -C nxproxy $@; fi
+ if test -d nx-X11; then \
-+ ${MAKE} -C nxcompext $@; \
-+ ${MAKE} -C nxcompshad; \
-+ ${MAKE} -C nx-X11 $@; \
++ if test -f nxcompext/Makefile; then ${MAKE} -C nxcompext $@; fi; \
++ if test -f nxcompshad/Makefile; then ${MAKE} -C nxcompshad $@; fi; \
++ if test -f nx-X11/Makefile; then ${MAKE} -C nx-X11 $@; fi; \
+ fi
+
+all: build