1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

Bug 799: Ignore source directory name when uninstalling.

This fixes the uninstallation of elinks.conf.5 and elinkskeys.5 when
$(srcdir) is not empty, i.e. the build directory is not the same as
the source directory.
This commit is contained in:
Kalle Olavi Niemitalo 2007-02-24 12:15:22 +02:00 committed by Kalle Olavi Niemitalo
parent 8688e623d4
commit 50c085beb5

View File

@ -66,8 +66,10 @@ quiet_cmd_installdata = " [$(INSTALL_COLOR)INSTALL$(END_COLOR)] $(RELPATH)
quiet_cmd_installprog = " [$(INSTALL_COLOR)INSTALL$(END_COLOR)] $(RELPATH)$(2) -> $(3)"
cmd_installprog = $(INSTALL_PROGRAM) $(2) $(3)
quiet_cmd_uninstall = " [$(UNINSTALL_COLOR)UNINSTALL$(END_COLOR)] $(3)/$(2)"
cmd_uninstall = $(RM) $(3)/$(2)
# $(INSTALL_DATA) in cmd_installdata doesn't use the directory part of
# $(2) when it forms the output file name, so don't use it here either.
quiet_cmd_uninstall = " [$(UNINSTALL_COLOR)UNINSTALL$(END_COLOR)] $(3)/$(notdir $(2))"
cmd_uninstall = $(RM) $(3)/$(notdir $(2))
#############################################################################
# Special handling of conditional variables