mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Get version string from source
This commit is contained in:
parent
f90c37cd5e
commit
26d49a16b3
4
Makefile
4
Makefile
|
@ -1,4 +1,4 @@
|
||||||
include VERSION.mk
|
VERSION = $(shell grep -m1 VERSION $(SRC) | cut -f 2 -d'"')
|
||||||
|
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
MANPREFIX ?= $(PREFIX)/share/man
|
MANPREFIX ?= $(PREFIX)/share/man
|
||||||
|
@ -57,7 +57,7 @@ CFLAGS += $(CFLAGS_CURSES)
|
||||||
|
|
||||||
LDLIBS += $(LDLIBS_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
|
SRC = src/nnn.c
|
||||||
HEADERS = src/nnn.h
|
HEADERS = src/nnn.h
|
||||||
BIN = nnn
|
BIN = nnn
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
VERSION = 2.8.1
|
|
|
@ -1,4 +1,4 @@
|
||||||
include VERSION.mk
|
VERSION = $(shell grep -m1 VERSION $(SRC) | cut -f 2 -d'"')
|
||||||
|
|
||||||
PREFIX ?= /boot/system/non-packaged
|
PREFIX ?= /boot/system/non-packaged
|
||||||
MANPREFIX ?= /boot/system/non-packaged/documentation/man
|
MANPREFIX ?= /boot/system/non-packaged/documentation/man
|
||||||
|
@ -63,7 +63,7 @@ CFLAGS += $(CFLAGS_CURSES)
|
||||||
|
|
||||||
LDLIBS += $(LDLIBS_CURSES) $(LDLIBS_HAIKU)
|
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
|
SRC = src/nnn.c
|
||||||
HEADERS = src/nnn.h
|
HEADERS = src/nnn.h
|
||||||
BIN = nnn
|
BIN = nnn
|
||||||
|
|
Loading…
Reference in a new issue