nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 26d49a16b34f39402d3ec31af9a2c5de54030e47
parent f90c37cd5e1860e6fd29aa7a767923dcd74039cc
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 29 Dec 2019 23:43:09 +0530

Get version string from source

Diffstat:
MMakefile | 4++--
DVERSION.mk | 1-
Mmisc/haiku/Makefile | 4++--
3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -include VERSION.mk +VERSION = $(shell grep -m1 VERSION $(SRC) | cut -f 2 -d'"') PREFIX ?= /usr/local MANPREFIX ?= $(PREFIX)/share/man @@ -57,7 +57,7 @@ CFLAGS += $(CFLAGS_CURSES) LDLIBS += $(LDLIBS_CURSES) -DISTFILES = src nnn.1 Makefile README.md LICENSE VERSION.mk +DISTFILES = src nnn.1 Makefile README.md LICENSE SRC = src/nnn.c HEADERS = src/nnn.h BIN = nnn diff --git a/VERSION.mk b/VERSION.mk @@ -1 +0,0 @@ -VERSION = 2.8.1 diff --git a/misc/haiku/Makefile b/misc/haiku/Makefile @@ -1,4 +1,4 @@ -include VERSION.mk +VERSION = $(shell grep -m1 VERSION $(SRC) | cut -f 2 -d'"') PREFIX ?= /boot/system/non-packaged MANPREFIX ?= /boot/system/non-packaged/documentation/man @@ -63,7 +63,7 @@ CFLAGS += $(CFLAGS_CURSES) LDLIBS += $(LDLIBS_CURSES) $(LDLIBS_HAIKU) -DISTFILES = src nnn.1 Makefile README.md LICENSE VERSION.mk +DISTFILES = src nnn.1 Makefile README.md LICENSE SRC = src/nnn.c HEADERS = src/nnn.h BIN = nnn