Opened 14 years ago
Closed 13 years ago
#258 closed enhancement (fixed)
Should 'make dist' generate an MD5 file automatically?
Reported by: | Jari Häkkinen | Owned by: | Peter Johansson |
---|---|---|---|
Priority: | trivial | Milestone: | svndigest 0.7 |
Component: | build | Version: | trunk |
Keywords: | Cc: |
Description
Change History (5)
comment:1 Changed 14 years ago by
comment:2 Changed 13 years ago by
Priority: | major → trivial |
---|
Automake does not provide a dist-local
, and then I am not convinced it is a great idea to hack around autotools.
We could add a md5
tag using two-liner like
md5: dist md5sum $(distsir).tar.gz > $(distdir).tar.gz.MD5
comment:3 Changed 13 years ago by
I think one should use distcheck to make a dist and it would allow a distcheck-hook
creating a md5 file.
From the Automake documentation
If the distcheck-hook rule is defined in your top-level Makefile.am, then it will be invoked by distcheck after the new distribution has been unpacked, but before the unpacked copy is configured and built. Your distcheck-hook can do almost anything, though as always caution is advised. Generally this hook is used to check for potential distribution errors not caught by the standard mechanism.
comment:4 Changed 13 years ago by
Here is the blurp with newlines
If the distcheck-hook rule is defined in your top-level Makefile.am, then it will be invoked by distcheck after the new distribution has been unpacked, but before the unpacked copy is configured and built. Your distcheck-hook can do almost anything, though as always caution is advised. Generally this hook is used to check for potential distribution errors not caught by the standard mechanism.
Note: See
TracTickets for help on using
tickets.
If
automake
provides a dist-local variable this no-brainer..