aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-08 16:33:40 +0100
committerMihai Moldovan <ionic@ionic.de>2017-03-01 15:19:15 +0100
commitf781b8e4c6137bb6428bfaf37aa364bb5b9ae4cf (patch)
treed5700caeaaf1fee763429e20a3d6ebb410c4e71b
parent29fee5b46a5a6aa2084731465f80fd238a7a6d8a (diff)
downloadnx-libs-f781b8e4c6137bb6428bfaf37aa364bb5b9ae4cf.tar.gz
nx-libs-f781b8e4c6137bb6428bfaf37aa364bb5b9ae4cf.tar.bz2
nx-libs-f781b8e4c6137bb6428bfaf37aa364bb5b9ae4cf.zip
Makefile: Fix flawed uninstall-* targets. Spotted by Ionic while reviewing the nxagent RPATH changeset. Thanks!
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2f6acd235..e78f45c1b 100644
--- a/Makefile
+++ b/Makefile
@@ -186,14 +186,14 @@ uninstall-lite:
$(RM_DIR) $(DESTDIR)$(NXLIBDIR)/bin/
$(RM_FILE) $(DESTDIR)$(PREFIX)/share/man/man1/*.1
$(RM_FILE) $(DESTDIR)$(PREFIX)/share/nx/VERSION.nxproxy
- $(RM_DIR) $(DESTDIR)$(NXLIBDIR)/share/nx/
+ $(RM_DIR) $(DESTDIR)$(PREFIX)/share/nx/
uninstall-full:
for f in nxagent; do \
$(RM_FILE) $(DESTDIR)$(BINDIR)/$$f; done
$(RM_FILE) $(DESTDIR)$(PREFIX)/share/nx/VERSION.nxagent
- $(RM_DIR) $(DESTDIR)$(NXLIBDIR)/share/nx/
+ $(RM_DIR) $(DESTDIR)$(PREFIX)/share/nx/
if test -d nx-X11; then \
if test -f nxcompshad/Makefile; then ${MAKE} -C nxcompshad $@; fi; \