]> Sergey Matveev's repositories - nnn.git/commitdiff
Just let the commands show up
authorlostd <lostd@2f30.org>
Wed, 22 Oct 2014 15:24:05 +0000 (18:24 +0300)
committerlostd <lostd@2f30.org>
Wed, 22 Oct 2014 15:24:16 +0000 (18:24 +0300)
Makefile

index 4bbbd9c0192481004813804ed4e0e778e7571447..22130a54de0477dab7f7b96e17695a1c8c5fc6fe 100644 (file)
--- a/Makefile
+++ b/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)