makefile: Put proton version into version file, too

This commit is contained in:
Andrew Eikum 2018-12-20 15:10:32 -06:00
parent 4a5f7064b3
commit 971cdf9a42

View File

@ -276,7 +276,7 @@ $(DIST_COPY_TARGETS): | $(DST_DIR)
cp -a $(SRCDIR)/$(notdir $@) $@
$(DIST_VERSION): | $(DST_DIR)
date '+%s' > $@
echo `date '+%s'` `GIT_DIR=$(abspath $(SRCDIR)/.git) git describe --tags` > $@
cp $(DIST_VERSION) $(DST_BASE)/
$(DIST_COMPAT_MANIFEST): $(COMPAT_MANIFEST_TEMPLATE) $(MAKEFILE_DEP) | $(DST_DIR)