aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Paul Saman <jpsaman@videolan.org>2013-11-05 07:45:38 (GMT)
committerJean-Paul Saman <jpsaman@videolan.org>2013-11-05 07:45:38 (GMT)
commitd8b237dd1333e8020bf4d7842555694a664b8895 (patch)
treed7ccc6f56c590cf5e86d0889b19b3ec838caf488
parentddc4ae82f278824e0e743b9cad61fb1a47a4181c (diff)
Makefile.am: add dist-checksum target.
-rw-r--r--Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5ecfb01..922713b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,3 +25,9 @@ changelog:
sed -e 's/^[^0-9]/ /' -e 's/^ *$$//' -e 's/^ \* / /g' | \
grep -v '^ \*$$' | uniq >| ChangeLog
+dist-checksum: $(DIST_TARGETS)
+ rm -f *.md5 *.sha256
+ for sum in '$(DIST_ARCHIVES)'; do \
+ md5sum $$sum > $$sum.md5 && \
+ sha256sum $$sum > $$sum.sha256; \
+ done

Privacy Policy