Introduction
Introduction Statistics Contact Development Disclaimer Help
Install to bin and not sbin - smdev - suckless mdev
git clone git://git.suckless.org/smdev
Log
Files
Refs
README
LICENSE
---
commit 08dd361bc017b26f9f1126210da7243e3401f98a
parent 0b6fda11f98333f968a2e159b67a2d8c953a96a6
Author: sin <[email protected]>
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(-)
---
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
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.