Removal of version variable value after building

pull/9/head
parent 5d5da291fc
commit b9a073e4d7

@ -138,7 +138,13 @@ clean:
echo "Clean: error, compile directory exist ${CMAKE_BUILD_DIR}"; \ echo "Clean: error, compile directory exist ${CMAKE_BUILD_DIR}"; \
else \ else \
echo "Clean: OK"; \ echo "Clean: OK"; \
fi fi; \
version="$$(cat VERSION.md)"; \
version=$${version:8}; \
search="s/string version_application.*"; \
echo $$search; \
replace="string version_application = ;"; \
sed -i -e "$$search/$$replace/gi" source/ubl-settings-manager.h; \
help: help:
@echo "The following are some of the valid targets for this Makefile:" @echo "The following are some of the valid targets for this Makefile:"

Loading…
Cancel
Save