aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-03-14 22:29:59 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-03-14 22:29:59 +0530
commit063882c42019a34adb9231f2a1af09c1d17ea16f (patch)
treecfacf2b515b07769f80938a57033ae65f7cf56cc /Makefile
parent6ac45b92bd41ff4898016a88cf9f905b6af52863 (diff)
downloadnnn-063882c42019a34adb9231f2a1af09c1d17ea16f.tar.gz
Fix #97: add manpage for nlay
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 09818a0..7b97a90 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ else
LDLIBS += -lncurses
endif
-DISTFILES = nlay nnn.c nnn.h nnn.1 Makefile README.md LICENSE
+DISTFILES = nlay nlay.1 nnn.c nnn.h nnn.1 Makefile README.md LICENSE
SRC = nnn.c
BIN = nnn
PLAYER = nlay
@@ -37,11 +37,13 @@ install: all
$(INSTALL) -m 0755 $(BIN) $(PLAYER) $(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) $^