makefile_base: ensure version gets copied into DST_BASE

The main "proton" script tries to compare the version file in DST_BASE
with the one in DST_DIR, but the one in DST_BASE was missing, causing it
to fail to run anything.

Signed-off-by: Steven Noonan <steven@valvesoftware.com>
This commit is contained in:
Steven Noonan 2018-10-12 23:43:35 -07:00
parent eda71eee45
commit b3ecf24bc3
No known key found for this signature in database
GPG Key ID: 7EACB44BA7B30DB9

View File

@ -260,6 +260,7 @@ $(DIST_COPY_TARGETS): | $(DST_DIR)
$(DIST_VERSION): | $(DST_DIR) $(DIST_VERSION): | $(DST_DIR)
date '+%s' > $@ date '+%s' > $@
cp $(DIST_VERSION) $(DST_BASE)/
$(DIST_COMPAT_MANIFEST): $(COMPAT_MANIFEST_TEMPLATE) $(MAKEFILE_DEP) | $(DST_DIR) $(DIST_COMPAT_MANIFEST): $(COMPAT_MANIFEST_TEMPLATE) $(MAKEFILE_DEP) | $(DST_DIR)
sed -r 's|//##DISPLAY_NAME##|"display_name" "'$(BUILD_NAME)'"|' $< > $@ sed -r 's|//##DISPLAY_NAME##|"display_name" "'$(BUILD_NAME)'"|' $< > $@