Using the single source of Unit version.

This commit is contained in:
Igor Sysoev
2017-10-20 17:52:04 +03:00
parent 2837d520bb
commit 9f9a708ed1

View File

@@ -234,13 +234,14 @@ ${NXT_DAEMON}-uninstall:
END END
nxt_version=`grep NXT_VERSION src/nxt_main.h | sed -e 's/.*"\(.*\)".*/\1/'`
# Makefile. # Makefile.
# *.dSYM is MacOSX Clang debug information. # *.dSYM is MacOSX Clang debug information.
cat << END > Makefile cat << END > Makefile
NXT_VERSION = 0.3 NXT_VERSION = $nxt_version
include $NXT_MAKEFILE include $NXT_MAKEFILE