Changeset 1142 for branches/0.8-stable


Ignore:
Timestamp:
Jul 24, 2010, 3:17:14 AM (9 years ago)
Author:
Peter Johansson
Message:

use release hook to create Portfile in end of release

Location:
branches/0.8-stable
Files:
2 edited

Legend:

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

    r1141 r1142  
    7272    exit 1; }
    7373
     74# run in end of release target
     75RELEASE_HOOK = build_support/Portfile
     76
    7477edit = $(SED) \
    7578  -e 's|@PACKAGE_URL[@]|$(PACKAGE_URL)|g' \
  • branches/0.8-stable/m4/yat_svn_release.m4

    r874 r1142  
    1 ## $Id: yat_svn_release.m4 2116 2009-11-22 04:33:23Z peter $
     1## $Id: yat_svn_release.m4 2301 2010-07-24 01:12:27Z peter $
    22
    3 # serial
     3# serial 3 (yat 0.7)
    44
    55# SYNOPSIS
     
    1818m4_define([yat_svn_release_copyright], [
    1919#
    20 #   Copyright (C) 2009 Peter Johansson
     20#   Copyright (C) 2009, 2010 Peter Johansson
    2121#
    2222#   This file is part of the yat library, http://dev.thep.lu.se/yat
     
    4242  AC_REQUIRE([AC_PROG_EGREP])       
    4343  AC_CHECK_PROGS([MD5], [md5sum gmd5sum md5 md5deep], [no])
    44   m4_pushdef([YAT_OUTPUTFILE], [maintainer.am])
     44  m4_pushdef([YAT_OUTPUTFILE], [m4_default([$1], [maintainer.am])])
    4545
    46   AX_AC_PRINT_TO_FILE([maintainer.am],
     46  AX_AC_PRINT_TO_FILE(YAT_OUTPUTFILE,
    4747[#  ]YAT_OUTPUTFILE[ generated by autoconf from $0
    4848]yat_svn_release_copyright[
     
    7373  *\"\$\$today\"*);; \\
    7474  *) \\
    75     echo \"NEWS: release date incorrect; expected '\$\$date'\" 1>&2;\\
     75    echo \"NEWS: release date incorrect; expected '\$\$today'\" 1>&2;\\
    7676    exit 1;; \\
    7777  esac
     
    113113    \$(MD5) \$\$a > \$\$a.MD5; \\
    114114  done;
     115  @test -z \"\$(RELEASE_HOOK)\" || \$(MAKE) \$(AM_MAKEFLAGS) \$(RELEASE_HOOK)
    115116])
    116117  m4_popdef([YAT_OUTPUTFILE])
Note: See TracChangeset for help on using the changeset viewer.