[gnome-commander/gcmd-1-6] Fixes use of DESTDIR variable while (un)installing with make
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-6] Fixes use of DESTDIR variable while (un)installing with make
- Date: Sun, 28 May 2017 17:16:19 +0000 (UTC)
commit c08d02258345943695082dd66b454045118011cd
Author: Uwe Scholz <uwescholz src gnome org>
Date: Mon May 22 22:08:31 2017 +0200
Fixes use of DESTDIR variable while (un)installing with make
data/Makefile.am | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index daa99d6..022e110 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -47,11 +47,11 @@ HAVE_UPDATE_MIME_DATABASE = @HAVE_UPDATE_MIME_DATABASE@
install-data-hook:
test "x$(HAVE_UPDATE_MIME_DATABASE)" == "xyes" && \
- update-mime-database -V $(DESTDIR)/$(mimetopdir)
+ update-mime-database -V $(mimetopdir)
uninstall-hook:
- for target in $(DESTDIR)/$(mimetopdir)/* ; \
- do test "x$${target}" != "x$(DESTDIR)/$(mimexmldir)" && rm -rf $${target} ; done
+ for target in $(mimetopdir)/* ; \
+ do test "x$${target}" != "x$(mimexmldir)" && rm -rf $${target} ; done
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]