aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-29 23:43:09 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-29 23:43:09 +0530
commit26d49a16b34f39402d3ec31af9a2c5de54030e47 (patch)
treed6edae6e635eae4a4da169f517899e7e6e66a6ab /misc
parentf90c37cd5e1860e6fd29aa7a767923dcd74039cc (diff)
downloadnnn-26d49a16b34f39402d3ec31af9a2c5de54030e47.tar.gz
Get version string from source
Diffstat (limited to 'misc')
-rw-r--r--misc/haiku/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/haiku/Makefile b/misc/haiku/Makefile
index 6fd576d..dff4a7b 100644
--- 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