diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-10-29 09:42:16 +0100 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-10-29 09:43:24 +0100 |
| commit | c3e18edda8bcbb9dfd5167d31ba6fc1ddb13eced (patch) | |
| tree | 25fa6bb94a6c52618e038f80d571fa87abfaa8a5 /Makefile | |
| parent | eb86030af14158be87a8ace7d893a9fd27ec3ccf (diff) | |
| download | rabbitmq-server-git-c3e18edda8bcbb9dfd5167d31ba6fc1ddb13eced.tar.gz | |
make source-dist: Mention we should fix file timestamps
Add an example with the comment.
This is on the TODO to have reproducible builds.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -247,6 +247,9 @@ $(SOURCE_DIST): $(ERLANG_MK_RECURSIVE_DEPS_LIST) (cd $$dep; echo "$$(basename "$$dep") $$(git rev-parse HEAD) $$(git describe --tags --exact-match 2>/dev/null || git symbolic-ref -q --short HEAD)") >> $(SOURCE_DIST)/git-revisions.txt; \ done +# TODO: Fix file timestamps to have reproducible source archives. +# $(verbose) find $(SOURCE_DIST) -not -name 'git-revisions.txt' -print0 | xargs -0 touch -r $(SOURCE_DIST)/git-revisions.txt + $(SOURCE_DIST).tar.gz: $(SOURCE_DIST) $(gen_verbose) find $(SOURCE_DIST) -print0 | LC_COLLATE=C sort -z | \ xargs -0 $(TAR) -cnf - $(TAR_V) | \ |
