Using the single source of Unit version.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user