summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-09-27 00:08:43 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-09-27 00:08:43 -0500
commit9eaf8b5ed1c3f97a42b6f6a6d77f9267326801c3 (patch)
tree01ce927b83da80d4bda22b0d6f10fbd2988fa9bb /Makefile
parente0869144367ef00f64eaef5af961ce5134173c53 (diff)
downloadextra-ros-utils-9eaf8b5ed1c3f97a42b6f6a6d77f9267326801c3.tar.xz
extra-ros-utils-9eaf8b5ed1c3f97a42b6f6a6d77f9267326801c3.zip
Fix removal rule
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 63779dd..911c58b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-BINS :=tf2_watch
+BINS := tf2_watch
ifeq ($(PREFIX),)
PREFIX := /usr/local
@@ -16,5 +16,5 @@ install:
uninstall:
for bin in $(BINS); do \
- rm -rf $(DESTDIR)$(BINDIR)/$$bin; \
+ rm -rf $(DESTDIR)$(PREFIX)$(BINDIR)/$$bin; \
done