Changeset 1470 for trunk/Makefile.am


Ignore:
Timestamp:
Mar 19, 2012, 8:18:49 AM (9 years ago)
Author:
Peter Johansson
Message:

merge patch release 0.9.5 into trunk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/Makefile.am

    r1452 r1470  
    6262MAINTAINER_CHECK_LOCAL += syntax-check
    6363# extra check in release rule
    64 RELEASE_LOCAL = check-svn_revision check-readme
     64RELEASE_LOCAL = check-svn_revision check-readme check-openssl
    6565
    66 .PHONY: check-svn_revision
     66.PHONY: check-svn_revision check-openssl
    6767
    6868FORCE:
     69
     70check-openssl:
     71  @openssl version > /dev/null || exit 1
    6972
    7073check-svn_revision:
     
    101104  -e 's|@VERSION[@]|$(VERSION)|g'
    102105
    103 build_support/Portfile: $(distdir).tar.gz Makefile build_support/Portfile.in
     106build_support/Portfile: $(distdir).tar.gz Makefile build_support/Portfile.in check-openssl
    104107  @rm -f $@ $@.t
    105   @openssl version > /dev/null || exit 1
    106   @openssl sha1 $(distdir).tar.gz > $(distdir).tar.gz.sha1
     108  @openssl sha256 $(distdir).tar.gz > $(distdir).tar.gz.sha256
    107109  @openssl rmd160 $(distdir).tar.gz > $(distdir).tar.gz.rmd160
    108   @sha1=`cut -f 2 -d ' ' $(distdir).tar.gz.sha1`;\
     110  @sha256=`cut -f 2 -d ' ' $(distdir).tar.gz.sha256`;\
    109111  rmd160=`cut -f 2 -d ' ' $(distdir).tar.gz.rmd160`;\
    110   $(edit) -e "s|@SHA1SUM[@]|$$sha1|g" -e "s|@RMD160SUM[@]|$$rmd160|g" \
     112  $(edit) -e "s|@SHA256SUM[@]|$$sha256|g" \
     113  -e "s|@RMD160SUM[@]|$$rmd160|g" \
    111114  '$(srcdir)/build_support/Portfile.in' > $@.t
    112115  @chmod a-w $@.t
Note: See TracChangeset for help on using the changeset viewer.