Changeset 1509


Ignore:
Timestamp:
Sep 1, 2012, 9:16:28 AM (7 years ago)
Author:
Peter Johansson
Message:

update macros from yat (version 0.9pre)

Location:
trunk/m4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_am_macros.m4

    r1463 r1509  
    1 ## $Id: yat_am_macros.m4 2680 2012-01-09 02:28:59Z peter $
    2 
    3 # serial 9 (yat 0.9)
     1## $Id: yat_am_macros.m4 2807 2012-08-05 23:39:51Z peter $
     2
     3# serial 11 (yat 0.9)
    44
    55m4_define([yat_am_macros_copyright], [
    66#
    7 #   Copyright (C) 2011 Peter Johansson
     7#   Copyright (C) 2011, 2012 Peter Johansson
    88#
    99#   This file is part of the yat library, http://dev.thep.lu.se/yat
     
    107107YAT_SVN_REVISION_FORCE:
    108108$(srcdir)/yat_svn_revision_FILE: YAT_SVN_REVISION_FORCE
    109   @$(SVNVERSION) $(srcdir) > [$][@]-t \
     109  $(AM_V_at)$(SVNVERSION) $(srcdir) > [$][@]-t \
    110110  && $(MOVE_IF_CHANGE) [$][@]-t [$][@]
    111111endif
     
    157157BUILT_SOURCES += $(builddir)/]yat_HEADER_FILE[
    158158$(builddir)/]yat_HEADER_FILE[: $(srcdir)/yat_HEADER_FILE.in $(srcdir)/]yat_INPUT_FILE[
    159   revision=$$(cat $(srcdir)/]yat_INPUT_FILE[) \
     159  $(AM_V_at)revision=$$(cat $(srcdir)/]yat_INPUT_FILE[) \
    160160  && sed "s|@]yat_REVISION_DEFINE[@|$$revision|g" < $(srcdir)/]yat_HEADER_FILE.in[ \
    161161  > [$][@]-t && mv [$][@]-t [$][@]
     
    203203if HAVE_SVN_WC
    204204$(srcdir)/YAT_release_year: RELEASE_YEAR_FORCE
    205   @if $(SVNVERSION) $(srcdir) | grep 'M' > /dev/null; then \
     205  $(AM_V_at)if $(SVNVERSION) $(srcdir) | grep 'M' > /dev/null; then \
    206206     date -u "+%%Y" > [$][@]-t \
    207207     && $(MOVE_IF_CHANGE) [$][@]-t [$][@]; \
     
    226226[# ]$1[ generated automatically by GNU Autoconf
    227227]yat_am_macros_copyright[
    228 # stub rule to work around bug in Automake
     228# stub rule to work around bug in Automake 1.11
    229229\$(top_srcdir)/]$1[:
    230230
  • trunk/m4/yat_svn_release.m4

    r1463 r1509  
    1 ## $Id: yat_svn_release.m4 2448 2011-03-28 18:57:33Z peter $
     1## $Id: yat_svn_release.m4 2787 2012-07-23 03:14:44Z peter $
    22
    3 # serial 7 (yat 0.8)
     3# serial 9 (yat 0.9)
    44
    55# SYNOPSIS
     
    99# DESCRIPTION
    1010#
    11 #   Creates a few make rules useful for maintainer. You need to add 
     11#   Creates a few make rules useful for maintainer. You need to add
    1212#
    1313#     include $(srcdir)/maintainer.am
     
    2424#
    2525# COPYLEFT
    26 m4_define([yat_svn_release_copyright], [
     26m4_define([yat_svn_release_copyright], [dnl
    2727#
    28 #   Copyright (C) 2009, 2010, 2011 Peter Johansson
     28#   Copyright (C) 2009, 2010, 2011, 2012 Peter Johansson
    2929#
    3030#   This file is part of the yat library, http://dev.thep.lu.se/yat
     
    4747AC_DEFUN([YAT_SVN_RELEASE],
    4848[
    49   AC_REQUIRE([AC_PROG_SED])       
    50   AC_REQUIRE([AC_PROG_EGREP])       
     49  AC_REQUIRE([AC_PROG_SED])
     50  AC_REQUIRE([AC_PROG_EGREP])
    5151  AC_CHECK_PROGS([MD5], [md5sum gmd5sum md5 md5deep], [no])
    5252  m4_pushdef([YAT_OUTPUTFILE], [m4_default([$1], [maintainer.am])])
    5353
    54   AX_AC_PRINT_TO_FILE(YAT_OUTPUTFILE, 
     54  AX_AC_PRINT_TO_FILE(YAT_OUTPUTFILE,
    5555[#  ]YAT_OUTPUTFILE[ generated by autoconf from $0
    5656]yat_svn_release_copyright[
     
    5858        check-release-tools maintainer-check release
    5959
    60 # stub rule to work around bug in Automake
     60# stub rule to work around bug in Automake 1.11
    6161\$(srcdir)/]YAT_OUTPUTFILE[:
    6262
     
    9191check-release-tools:
    9292  @test \"x\$(MD5)\" != \"xno\" || \\
    93   (echo \"no tool to calculate MD5 checksum available\" 1>&2 && exit 1) 
     93  (echo \"no tool to calculate MD5 checksum available\" 1>&2 && exit 1)
    9494
    9595mc_exportdir=_exported
Note: See TracChangeset for help on using the changeset viewer.