Install to bin and not sbin - smdev - suckless mdev
(HTM) git clone git://git.suckless.org/smdev
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 08dd361bc017b26f9f1126210da7243e3401f98a
(DIR) parent 0b6fda11f98333f968a2e159b67a2d8c953a96a6
(HTM) Author: sin <sin@2f30.org>
Date: Thu, 5 Sep 2013 11:26:49 +0100
Install to bin and not sbin
Diffstat:
M Makefile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -48,14 +48,13 @@ util.a: $(LIB)
@ranlib $@
install: all
- @echo installing executable to $(DESTDIR)$(PREFIX)/sbin
- @mkdir -p $(DESTDIR)$(PREFIX)/sbin
- @cp -f $(BIN) $(DESTDIR)$(PREFIX)/sbin
- @cd $(DESTDIR)$(PREFIX)/sbin && chmod 755 $(BIN)
+ @echo installing executable to $(DESTDIR)$(PREFIX)/bin
+ @cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
+ @cd $(DESTDIR)$(PREFIX)/bin && chmod 755 $(BIN)
uninstall:
- @echo removing executable from $(DESTDIR)$(PREFIX)/sbin
- @cd $(DESTDIR)$(PREFIX)/sbin && rm -f $(BIN)
+ @echo removing executable from $(DESTDIR)$(PREFIX)/bin
+ @cd $(DESTDIR)$(PREFIX)/bin && rm -f $(BIN)
clean:
@echo cleaning