diff options
author | Dominic Radermacher <blip@mockmoon-cybernetics.ch> | 2020-05-05 20:44:18 +0200 |
---|---|---|
committer | Dominic Radermacher <blip@mockmoon-cybernetics.ch> | 2020-05-05 20:44:18 +0200 |
commit | ef87827dfc4c19d119a1aaac0adc2a76c157811e (patch) | |
tree | 1a412523c54d9fc08fbc0e4cb1d5ab5d733e90b1 | |
parent | 9456b03f1863f2e2351c85e7be837c823fdf7249 (diff) |
fix install path when using in Makefile
-rw-r--r-- | Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -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 |