From b2a97e4245ee3799ea768ca15fafda03510d8e6a Mon Sep 17 00:00:00 2001 From: David Adam Date: Fri, 24 Jul 2015 15:56:21 +0800 Subject: Makefile: Add mimedb and fishd to check-legacy-binaries target --- Makefile.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 5329c68d..9717b4a7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -554,6 +554,16 @@ check-legacy-binaries: echo "An outdated set_color from a previous fish install was found. You should remove it with:";\ echo " rm '$$SETCOLOR_LOC'";\ fi; + @MIMEDB_LOC=$(prefix)/bin/mimedb;\ + if test -x "$$MIMEDB_LOC" && $$MIMEDB_LOC --version 2>&1 | grep -q "^mimedb, version "; then\ + echo "An outdated mimedb binary from a prevoius fish install was found. You should remove it with:";\ + echo " rm '$$MIMEDB_LOC'";\ + fi; + @FISHD_LOC=$(prefix)/bin/fishd;\ + if test -x "$$FISHD_LOC" && $$FISHD_LOC --version 2>&1 | grep -q "^fishd: fishd, version "; then\ + echo "An outdated fishd binary from a prevoius fish install was found. You should remove it with:";\ + echo " rm '$$FISHD_LOC'";\ + fi; @true; .PHONY: check-legacy-binaries -- cgit v1.2.3