aboutsummaryrefslogtreecommitdiffstats
path: root/misc/haiku/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/haiku/Makefile')
-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