summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-25 08:57:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-25 08:57:29 (GMT)
commitf11d46a5391bad92ada8f86f1dac44e43f359c28 (patch)
tree9a11aff29ce895e73ae05ffff394015fb2c8b3c6 /unix/Makefile.in
parent7063328b6584b3d6923d6afd07a254ca7a99746c (diff)
downloadtk-f11d46a5391bad92ada8f86f1dac44e43f359c28.zip
tk-f11d46a5391bad92ada8f86f1dac44e43f359c28.tar.gz
tk-f11d46a5391bad92ada8f86f1dac44e43f359c28.tar.bz2
Fix [https://core.tcl-lang.org/tcl/info/9080d6a871|9080d6a871]: Build fix for tcl on macOS on Apple Silicon.
Add manifest.uuid to distribution, so we can see exactly what commit-id "make dist" is built from (even when it's built from GIT).
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index c917516..c1301e7 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -1504,9 +1504,14 @@ $(MAC_OSX_DIR)/configure: $(MAC_OSX_DIR)/configure.ac $(UNIX_DIR)/configure
$(UNIX_DIR)/tkConfig.h.in: $(MAC_OSX_DIR)/configure
cd $(MAC_OSX_DIR); autoheader; touch $@
-dist: $(UNIX_DIR)/configure $(UNIX_DIR)/tkConfig.h.in $(UNIX_DIR)/tk.pc.in $(MAC_OSX_DIR)/configure $(TOP_DIR)/doc/man.macros genstubs
+$(TOP_DIR)/manifest.uuid:
+ printf "git." >$(TOP_DIR)/manifest.uuid
+ git rev-parse HEAD >>$(TOP_DIR)/manifest.uuid
+
+dist: $(UNIX_DIR)/configure $(UNIX_DIR)/tkConfig.h.in $(UNIX_DIR)/tk.pc.in $(MAC_OSX_DIR)/configure $(TOP_DIR)/doc/man.macros $(TOP_DIR)/manifest.uuid genstubs
rm -rf $(DISTDIR)
mkdir -p $(DISTDIR)/unix
+ cp -p $(TOP_DIR)/manifest.uuid $(DISTDIR)
cp -p $(UNIX_DIR)/*.c $(UNIX_DIR)/*.h $(DISTDIR)/unix
cp $(TOP_DIR)/license.terms $(UNIX_DIR)/Makefile.in $(DISTDIR)/unix
chmod 664 $(DISTDIR)/unix/Makefile.in