Changeset 1182 for trunk/Makefile.am


Ignore:
Timestamp:
Aug 25, 2010, 3:02:41 AM (10 years ago)
Author:
Peter Johansson
Message:

Merge release 0.8 into trunk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/Makefile.am

    r1119 r1182  
    7171  { echo incorrect svn revision - expected single unmodified revision 1>&2; \
    7272    exit 1; }
     73
     74# run in end of release target
     75RELEASE_HOOK = build_support/Portfile
     76
     77edit = $(SED) \
     78  -e 's|@PACKAGE_URL[@]|$(PACKAGE_URL)|g' \
     79  -e 's|@VERSION[@]|$(VERSION)|g'
     80
     81build_support/Portfile: Makefile build_support/Portfile.in $(distdir).tar.gz.MD5
     82  @rm -f $@ $@.t
     83  @md5sum=`cut -f 1 -d ' ' $(distdir).tar.gz.MD5`;\
     84  $(edit) -e "s|@MD5SUM[@]|$$md5sum|g" '$(srcdir)/$@.in' > $@.t
     85  @chmod a-w $@.t
     86  @mv $@.t $@
     87  @echo "creating $@"
Note: See TracChangeset for help on using the changeset viewer.