12345678910111213141516171819
  1. SUBDIRS = src
  2. doc_DATA = README.md LICENSE CHANGELOG
  3. EXTRA_DIST = README.md LICENSE CHANGELOG
  4. #
  5. # Target to run when building a release
  6. #
  7. release: distcheck
  8. @for file in $(DIST_ARCHIVES); do \
  9. md5sum $$file > ../$$file.md5; \
  10. done
  11. @mv $(DIST_ARCHIVES) ../
  12. @echo
  13. @echo "Resulting release files:"
  14. @echo "================================================================="
  15. @for file in $(DIST_ARCHIVES); do \
  16. printf "$$file \tDistribution tarball\n"; \
  17. printf "$$file.md5\t"; cat ../$$file.md5 | cut -f1 -d' '; \
  18. done