瀏覽代碼

Get version string from source

master
Arun Prakash Jana 5 年之前
父節點
當前提交
26d49a16b3
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 3 個文件被更改,包括 4 次插入5 次删除
  1. +2
    -2
      Makefile
  2. +0
    -1
      VERSION.mk
  3. +2
    -2
      misc/haiku/Makefile

+ 2
- 2
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


+ 0
- 1
VERSION.mk 查看文件

@@ -1 +0,0 @@
VERSION = 2.8.1

+ 2
- 2
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


Loading…
取消
儲存