aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-26 23:16:59 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-05 18:22:24 +0100
commitc54558e3cbf796de60e443dd86159468a9a3c99d (patch)
treed9c4a7db4f1753af36690e74e0ae8848d44221fa
parent1539c20e56696d861126108266a4711942caec31 (diff)
downloadnx-libs-c54558e3cbf796de60e443dd86159468a9a3c99d.tar.gz
nx-libs-c54558e3cbf796de60e443dd86159468a9a3c99d.tar.bz2
nx-libs-c54558e3cbf796de60e443dd86159468a9a3c99d.zip
Makefile: Quote '$@' in make calls with double quotes.
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 6e9479284..cfd0d10b8 100644
--- a/Makefile
+++ b/Makefile
@@ -61,12 +61,12 @@ NX_XTRANS_HEADERS = \
$(NULL)
%:
- if test -f nxcomp/Makefile; then ${MAKE} -C nxcomp $@; fi
- if test -f nxproxy/Makefile; then ${MAKE} -C nxproxy $@; fi
+ 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 \
- if test -f nx-X11/lib/Makefile; then ${MAKE} -C nx-X11/lib $@; fi; \
- if test -f nxcompshad/Makefile; then ${MAKE} -C nxcompshad $@; fi; \
- if test -f nx-X11/Makefile; then ${MAKE} -C nx-X11 $@; fi; \
+ if test -f nx-X11/lib/Makefile; then ${MAKE} -C nx-X11/lib "$@"; fi; \
+ if test -f nxcompshad/Makefile; then ${MAKE} -C nxcompshad "$@"; fi; \
+ if test -f nx-X11/Makefile; then ${MAKE} -C nx-X11 "$@"; fi; \
fi
# clean auto-generated files
@@ -234,15 +234,15 @@ uninstall:
[ ! -d nx-X11 ] || $(MAKE) uninstall-full
uninstall-lite:
- if test -f nxcomp/Makefile; then ${MAKE} -C nxcomp $@; fi
- if test -f nxproxy/Makefile; then ${MAKE} -C nxproxy $@; fi
+ if test -f nxcomp/Makefile; then ${MAKE} -C nxcomp "$@"; fi
+ if test -f nxproxy/Makefile; then ${MAKE} -C nxproxy "$@"; fi
$(RM_FILE) $(DESTDIR)$(PREFIX)/share/nx/VERSION.nxproxy
$(RM_DIR) $(DESTDIR)$(PREFIX)/share/nx/
uninstall-full:
- if test -f nxcompshad/Makefile; then ${MAKE} -C nxcompshad $@; fi
- if test -f nx-X11/lib/Makefile; then ${MAKE} -C nx-X11/lib $@; fi
+ if test -f nxcompshad/Makefile; then ${MAKE} -C nxcompshad "$@"; fi
+ if test -f nx-X11/lib/Makefile; then ${MAKE} -C nx-X11/lib "$@"; fi
$(RM_FILE) $(DESTDIR)$(BINDIR)/nxagent