aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-10 12:06:21 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-10 12:06:21 +0530
commit497911e999d34fbb34a6abdb045afd3e6a6c2d1f (patch)
treef5d292471d2b29a3e32a4fb562ea72827ab2b1e2 /Makefile
parenta095ff485db66f8a98d27a0bee49d6b5118adbb8 (diff)
downloadnnn-497911e999d34fbb34a6abdb045afd3e6a6c2d1f.tar.gz
Retire nlay
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 60fa49e..12769c6 100644
--- a/Makefile
+++ b/Makefile
@@ -16,12 +16,11 @@ else
LDLIBS += -lncurses
endif
-DISTFILES = nlay nlay.1 nnn.c nnn.h nnn.1 Makefile README.md LICENSE
+DISTFILES = nnn.c nnn.h nnn.1 Makefile README.md LICENSE
SRC = nnn.c
BIN = nnn
-PLAYER = nlay
-all: $(BIN) $(PLAYER)
+all: $(BIN)
$(SRC): nnn.h
@@ -33,16 +32,13 @@ debug: $(SRC)
install: all
$(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin
- $(INSTALL) -m 0755 $(BIN) $(PLAYER) $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL) -m 0755 $(BIN) $(DESTDIR)$(PREFIX)/bin
$(INSTALL) -m 0755 -d $(DESTDIR)$(MANPREFIX)/man1
$(INSTALL) -m 0644 $(BIN).1 $(DESTDIR)$(MANPREFIX)/man1
- $(INSTALL) -m 0644 $(PLAYER).1 $(DESTDIR)$(MANPREFIX)/man1
uninstall:
$(RM) $(DESTDIR)$(PREFIX)/bin/$(BIN)
- $(RM) $(DESTDIR)$(PREFIX)/bin/$(PLAYER)
$(RM) $(DESTDIR)$(MANPREFIX)/man1/$(BIN).1
- $(RM) $(DESTDIR)$(MANPREFIX)/man1/$(PLAYER).1
strip: $(BIN)
$(STRIP) $^