Mercurial > mxe-octave
diff Makefile.in @ 4590:5b5c47cd2111
Add file with hg id of MXE-Octave to dist package (bug #52794).
* tools/mk-hg-id.sh: New file copied (mostly) from Octave sources.
* Makefile.in: Call shell script, copy HG-ID in make dist
* binary-dist-rules.mk: Copy HG-ID to dist directory.
* dist-files.mk: add mk-hg-id.sh to dist files
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 03 Jan 2018 14:18:12 +0100 |
parents | 0e56fe2d2ef5 |
children | 7d0053d163db |
line wrap: on
line diff
--- a/Makefile.in Wed Jan 03 10:09:19 2018 -0500 +++ b/Makefile.in Wed Jan 03 14:18:12 2018 +0100 @@ -149,6 +149,10 @@ $(shell mkdir -p $(BUILD_TOOLS_PREFIX)) $(shell mkdir -p $(HOST_PREFIX)) +## The mk-hg-id.sh script will be executed each time Make runs. It will +## update the HG-ID file in the build tree. +$(shell $(TOP_DIR)/tools/mk-hg-id.sh "$(TOP_DIR)") + # At least one package uses --with instead of --enable. ifeq ($(BUILD_SHARED),yes) ifeq ($(BUILD_STATIC),yes)