VERSION != cat VERSION
+GO ?= go
+
+GO_MOD_EXISTS != $(GO) help mod >/dev/null 2>&1 || echo no
+
+.if ${GO_MOD_EXISTS} == "no"
+BUILDMOD ?=
+GOPATH ?= $(PWD)
+.else
+BUILDMOD ?= -mod=vendor
+GOPATH ?= $(PWD)/gopath
+.endif
include common.mk
VERSION = $(shell cat VERSION)
+GO ?= go
+
+GO_MOD_EXISTS = $(shell $(GO) help mod >/dev/null 2>&1 || echo no)
+
+ifeq ($(GO_MOD_EXISTS), no)
+BUILDMOD ?=
+GOPATH ?= $(PWD)
+else
+BUILDMOD ?= -mod=vendor
+GOPATH ?= $(PWD)/gopath
+endif
include common.mk
PREFIX ?= /usr/local
-GO ?= go
SENDMAIL ?= /usr/sbin/sendmail
CFGPATH ?= $(PREFIX)/etc/nncp.yaml
-X cypherpunks.ru/nncp.DefaultSendmailPath=$(SENDMAIL) \
-X cypherpunks.ru/nncp.DefaultSpoolPath=$(SPOOLPATH) \
-X cypherpunks.ru/nncp.DefaultLogPath=$(LOGPATH)
-BUILDMOD ?= -mod=vendor
ALL = \
nncp-bundle \
SRC := $(PWD)/src/cypherpunks.ru/nncp
BIN := $(PWD)/bin
-GOPATH ?= $(PWD)/gopath
all: $(ALL)
NNCP should run on any POSIX-compatible operating system.
NNCP is written on @url{https://golang.org/, Go} programming language
-and you have to install Go compiler (1.7+ version is highly
+and you have to install Go compiler (1.10+ version is highly
recommended). @emph{Make} (BSD and GNU ones are fine) is recommended for
convenient building. @url{https://www.gnu.org/software/texinfo/,
Texinfo} is used for building documentation.
@node Новости
@section Новости
+@node Релиз 4.1
+@subsection Релиз 4.1
+@itemize
+@item
+Восстановлена работоспособность на GNU/Linux системах и Go версии 1.10.
+@end itemize
+
@node Релиз 4.0
@subsection Релиз 4.0
@itemize
See also this page @ref{Новости, on russian}.
+@node Release 4.1
+@section Release 4.1
+@itemize
+@item
+Workability on GNU/Linux systems and Go 1.10 is fixed.
+@end itemize
+
@node Release 4.0
@section Release 4.0
@itemize