summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominic Radermacher <blip@mockmoon-cybernetics.ch>2020-05-05 20:44:18 +0200
committerDominic Radermacher <blip@mockmoon-cybernetics.ch>2020-05-05 20:44:18 +0200
commitef87827dfc4c19d119a1aaac0adc2a76c157811e (patch)
tree1a412523c54d9fc08fbc0e4cb1d5ab5d733e90b1
parent9456b03f1863f2e2351c85e7be837c823fdf7249 (diff)
fix install path when using in Makefile
-rw-r--r--Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index ee08d4d..aa2696c 100644
--- a/Makefile
+++ b/Makefile
@@ -21,16 +21,9 @@ tidy:
$(RM) src/*.o $(PROGS)
install: $(PROGS)
- @$(ECHO) "\t==> Installing programs to $(DESTDIR)/usr/bin"
- @install -m 0755 -d $(DESTDIR)/usr/bin
- @install -m 0755 -t $(DESTDIR)/usr/bin $(PROGS)
-
-pack:
- @$(ECHO) "Cleaning up ..." ; \
- $(RM) src/*.o $(PROGS)
- @$(ECHO) "Creating package ..." ; \
- cd .. ; \
- tar c -J -f lan7800-led-ctl-$(GIT_VERSION).tar.xz lan7800-led-ctl
+ @$(ECHO) "\t==> Installing programs to $(DESTDIR)/bin"
+ @install -m 0755 -d $(DESTDIR)/bin
+ @install -m 0755 -t $(DESTDIR)/bin $(PROGS)
# Generic instructions
src/%.o: src/%.c