mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Just let the commands show up
This commit is contained in:
parent
32bce991be
commit
7ee4928a3f
15
Makefile
15
Makefile
|
@ -17,18 +17,13 @@ noice.o: queue.h util.h config.h
|
|||
strlcpy.o: util.h
|
||||
|
||||
install: all
|
||||
@echo installing $(BIN) to $(DESTDIR)$(PREFIX)/bin
|
||||
@mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
@cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
|
||||
@chmod 755 $(DESTDIR)$(PREFIX)/bin/$(BIN)
|
||||
@echo installing $(BIN).1 to $(DESTDIR)$(MANPREFIX)/man1
|
||||
@cp -f $(BIN).1 $(DESTDIR)$(MANPREFIX)/man1
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
|
||||
cp -f $(BIN).1 $(DESTDIR)$(MANPREFIX)/man1
|
||||
|
||||
uninstall:
|
||||
@echo removing $(BIN) from $(DESTDIR)$(PREFIX)/bin
|
||||
@rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN)
|
||||
@echo removing $(BIN).1 from $(DESTDIR)$(MANPREFIX)/man1
|
||||
@rm -f $(DESTDIR)$(MANPREFIX)/man1/$(BIN).1
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN)
|
||||
rm -f $(DESTDIR)$(MANPREFIX)/man1/$(BIN).1
|
||||
|
||||
clean:
|
||||
rm -f $(BIN) $(OBJ)
|
||||
|
|
Loading…
Reference in a new issue