Mercurial > mxe-octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
4589:7d8660f7bb61 | 4590:5b5c47cd2111 |
---|---|
146 | 146 |
147 # Make sure the root installation directories exists | 147 # Make sure the root installation directories exists |
148 $(shell mkdir -p $(ROOT_PREFIX)) | 148 $(shell mkdir -p $(ROOT_PREFIX)) |
149 $(shell mkdir -p $(BUILD_TOOLS_PREFIX)) | 149 $(shell mkdir -p $(BUILD_TOOLS_PREFIX)) |
150 $(shell mkdir -p $(HOST_PREFIX)) | 150 $(shell mkdir -p $(HOST_PREFIX)) |
151 | |
152 ## The mk-hg-id.sh script will be executed each time Make runs. It will | |
153 ## update the HG-ID file in the build tree. | |
154 $(shell $(TOP_DIR)/tools/mk-hg-id.sh "$(TOP_DIR)") | |
151 | 155 |
152 # At least one package uses --with instead of --enable. | 156 # At least one package uses --with instead of --enable. |
153 ifeq ($(BUILD_SHARED),yes) | 157 ifeq ($(BUILD_SHARED),yes) |
154 ifeq ($(BUILD_STATIC),yes) | 158 ifeq ($(BUILD_STATIC),yes) |
155 ENABLE_SHARED_OR_STATIC := --enable-shared --enable-static | 159 ENABLE_SHARED_OR_STATIC := --enable-shared --enable-static |