Makefile: Add mimedb and fishd to check-legacy-binaries target

This commit is contained in:
David Adam 2015-07-24 15:56:21 +08:00
parent 6c668868e9
commit b2a97e4245

View file

@ -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