diff options
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-10-14 12:00:26 +0100
committerJoão Valverde <j@v6e.pt>2017-10-15 08:38:16 +0000
commit79cdf3a8201ca27abf2bea29e9b9c6b3107ea5db (patch)
parent2ef359cdae0e816db112565899c1ca0f349b4c5a (diff)
autotools: dispense with some installation warnings/notes
These are not (easily) visible during installation and are better suited for documentation anyway, as implied in the Makefile comments. Change-Id: Id2581f6e8dfc05f1a6c0de918a0f687f025e6d12 Reviewed-on: https://code.wireshark.org/review/23910 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
1 files changed, 0 insertions, 44 deletions
diff --git a/Makefile.am b/Makefile.am
index f37f693..ba0b2b4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1013,50 +1013,6 @@ if NOT_MACOS
-install-data-hook: update-databases-and-caches-install
-uninstall-hook: update-databases-and-caches-uninstall
-# XXX - which of this stuff can, and should, we do ourselves?
-# If we're "installing" under $(DESTDIR) as part of the process of
-# building a package, we probably don't need to, and shouldn't, do
-# any of this.
-# If we're installing for use, we may need to do some of this; which
-# of them do we need to tell where to search, especially if we're
-# installing somewhere other than under /usr or /usr/local?
-# What if we're installing in the user's home directory?
-# What if we're installing under /opt?
-# We only need to run ldconfig on systems where it's necessary in order
-# to update a shared library cache to know about our shared libraries.
-# We only need to run update-desktop-database and update-mime-database
-# on freedesktop.org desktops.
-# We only need to run gtk-update-icon-cache if we're installing a GTK+
-# version of Wireshark.
-# We neither need nor want any of this on macOS, nor do we want it if
-# we're not building Wireshark (that being the only desktop app).
- @echo "You may need to run \"ldconfig\" as root"
- @echo "You may need to run \"update-desktop-database $(datadir)/applications\""
- @echo "You may need to run \"update-mime-database $(datadir)/mime\""
- @echo "You may need to run \"gtk-update-icon-cache -f -t $(datadir)/icons/hicolor\""
-update-databases-and-caches-install: update-databases-and-caches-common
-update-databases-and-caches-uninstall: update-databases-and-caches-common
rpm_topdir=`cd $(top_builddir) && pwd`/packaging/rpm
rpm-package: dist