summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-11-19 22:30:20 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-11-19 22:30:20 (GMT)
commit1b48c9bd83852894895dd3073a629a3221344f45 (patch)
tree2662a884210c340fc57d1d44204c0a0049dd5764
parent582e89a5af4be77d3cd300596ea7a46491689e51 (diff)
Makefile.in: Fix uninstall target
`make uninstall` is ran against `$(TARGETS)`, which includes `lib-kconfig`. `lib-kconfig` is installed as a part of the `lib` target, so during uninstall, removing `lib` is enough to also remove `lib-kconfig`. Filter out `lib-kconfig` during `real-uninstall`. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 59d8e54..3df6597 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -382,7 +382,7 @@ install-post:
#--------------------------------------
# Uninstall rules
-real-uninstall: $(patsubst %,uninstall-%,$(TARGETS))
+real-uninstall: $(patsubst %,uninstall-%,$(filter-out lib-kconfig,$(TARGETS)))
uninstall-bin:
@echo " RM '$(DESTDIR)$(bindir)/$(PROG_NAME)'"