diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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) $^ |