Changeset 1375


Ignore:
Timestamp:
Jun 12, 2011, 4:13:21 AM (10 years ago)
Author:
Peter Johansson
Message:

include creation of Portfile.diff in release target.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9-stable/Makefile.am

    r1345 r1375  
    6767.PHONY: check-svn_revision
    6868
     69FORCE:
     70
    6971check-svn_revision:
    7072  @$(SVNVERSION) | $(EGREP) '^[0-9]+$$' || \
     
    7375
    7476# run in end of release target
    75 RELEASE_HOOK = build_support/Portfile.v$(VERSION)
     77RELEASE_HOOK = build_support/Portfile.diff
     78
     79macport_url = http://svn.macports.org/repository/macports/trunk/dports/devel/svndigest
     80
     81build_support/Portfile.diff: build_support/Portfile FORCE
     82  test -e build_support/macport \
     83  || svn co $(macport_url) build_support/macport
     84  svn revert -R build_support/macport
     85  svn update build_support/macport
     86  cp build_support/Portfile build_support/macport/Portfile
     87  svn diff build_support/macport/Portfile > $@
     88  svn revert build_support/macport/Portfile
    7689
    7790edit = $(SED) \
     
    7992  -e 's|@VERSION[@]|$(VERSION)|g'
    8093
    81 build_support/Portfile.v$(VERSION): Makefile build_support/Portfile.in
     94build_support/Portfile: $(distdir).tar.gz Makefile build_support/Portfile.in
    8295  @rm -f $@ $@.t
    8396  @openssl version > /dev/null || exit 1
Note: See TracChangeset for help on using the changeset viewer.