Skip to content
Snippets Groups Projects
Commit 162e1821 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Merge branch 'improve-version.mk' into 'master'

Improve version.mk

See merge request !61
parents 1b0abd9a 8835a56e
Branches
Tags
1 merge request!61Improve version.mk
......@@ -102,10 +102,10 @@ info:
$(info INCLUDEDIR: $(INCLUDEDIR))
$(info MODULEDIR: $(MODULEDIR))
$(info )
$(info Dependencies)
$(info Core Dependencies)
$(info ------------)
$(info [$(HAS_libknot)] libknot (lib))
$(info [$(HAS_lmdb)] lmdb (lib))
$(info [yes] $(if $(filter $(HAS_lmdb),yes),system,embedded) lmdb (lib))
$(info [$(HAS_lua)] luajit (daemon))
$(info [$(HAS_libuv)] libuv (daemon))
$(info [$(HAS_gnutls)] libgnutls (daemon))
......
version_SOURCES := version.lua
modules/version/version.lua: modules/version/version.lua.in
$(SED) -e "s/@VERSION@/$(VERSION)/" < "$<" > "$@"
@$(call quiet,SED,$<) -e "s/@VERSION@/$(VERSION)/" $< > $@
$(call make_lua_module,version)
version-clean:
@$(call quiet,RM,modules/version/version.lua) modules/version/version.lua
.PHONY: version-clean
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment