refactoring

This commit is contained in:
Alexey.Golubev
2017-01-25 12:27:44 +03:00
parent e2476bfe0a
commit 89a2ec5e1e

View File

@ -83,9 +83,9 @@ WELCOME = $(OUTPUT)/$(WELCOME_DIR)/
all: $(FILE_CONVERTER) $(SPELLCHECKER_DICTIONARIES) $(TOOLS) $(SCHEMA) $(LICENSE) $(WELCOME) build-date
build-date: $(GRUNT_FILES)
sed "s|const buildVersion = .*|const buildVersion = '${PRODUCT_VERSION}';|" -i $(COMMON_DEFINES_JS)
sed "s|const buildNumber = .*|const buildNumber = ${BUILD_NUMBER};|" -i $(COMMON_DEFINES_JS)
sed "s|const buildDate = .*|const buildDate = '$$(date +%F)';|" -i $(LICENSE_JS)
sed "s|\(const buildVersion = \).*|\1'${PRODUCT_VERSION}';|" -i $(COMMON_DEFINES_JS)
sed "s|\(const buildNumber = \).*|\1${BUILD_NUMBER};|" -i $(COMMON_DEFINES_JS)
sed "s|\(const buildDate = \).*|\1'$$(date +%F)';|" -i $(LICENSE_JS)
htmlfileinternal: $(FILE_CONVERTER)
mkdir -p $(HTML_FILE_INTERNAL) && \