diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | website/bugs/make-tarball-is-not-idempotent.mdwn | 12 |
2 files changed, 15 insertions, 1 deletions
@@ -26,7 +26,9 @@ debian-package: tarball (cd monkeysphere-$(MONKEYSPHERE_VERSION) && debuild -uc -us) rm -rf monkeysphere-$(MONKEYSPHERE_VERSION) -freebsd-distinfo: tarball +# don't explicitly depend on the tarball, since our tarball +# (re)generation is not idempotent even when no source changes. +freebsd-distinfo: ./utils/build-freebsd-distinfo clean: diff --git a/website/bugs/make-tarball-is-not-idempotent.mdwn b/website/bugs/make-tarball-is-not-idempotent.mdwn new file mode 100644 index 0000000..57012cb --- /dev/null +++ b/website/bugs/make-tarball-is-not-idempotent.mdwn @@ -0,0 +1,12 @@ +[[ meta title="make tarball is not idempotent" ]] + +The current monkeysphere Makefile has a "tarball" target, which +produces the "upstream tarball". Unfortunately, it is not idempotent. +That is, if you run it twice in a row (without changing any other +source), the second .orig.tar.gz file is bytewise different from the +first. + +We should fix this so that the tarball generated is the same at least +as long as no local file has been touched. + +--dkg |