Changeset 1509
- Timestamp:
- Sep 1, 2012, 9:16:28 AM (10 years ago)
- Location:
- trunk/m4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/m4/yat_am_macros.m4
r1463 r1509 1 ## $Id: yat_am_macros.m4 2 680 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) 4 4 5 5 m4_define([yat_am_macros_copyright], [ 6 6 # 7 # Copyright (C) 2011 Peter Johansson7 # Copyright (C) 2011, 2012 Peter Johansson 8 8 # 9 9 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 107 107 YAT_SVN_REVISION_FORCE: 108 108 $(srcdir)/yat_svn_revision_FILE: YAT_SVN_REVISION_FORCE 109 @$(SVNVERSION) $(srcdir) > [$][@]-t \109 $(AM_V_at)$(SVNVERSION) $(srcdir) > [$][@]-t \ 110 110 && $(MOVE_IF_CHANGE) [$][@]-t [$][@] 111 111 endif … … 157 157 BUILT_SOURCES += $(builddir)/]yat_HEADER_FILE[ 158 158 $(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[) \ 160 160 && sed "s|@]yat_REVISION_DEFINE[@|$$revision|g" < $(srcdir)/]yat_HEADER_FILE.in[ \ 161 161 > [$][@]-t && mv [$][@]-t [$][@] … … 203 203 if HAVE_SVN_WC 204 204 $(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 \ 206 206 date -u "+%%Y" > [$][@]-t \ 207 207 && $(MOVE_IF_CHANGE) [$][@]-t [$][@]; \ … … 226 226 [# ]$1[ generated automatically by GNU Autoconf 227 227 ]yat_am_macros_copyright[ 228 # stub rule to work around bug in Automake 228 # stub rule to work around bug in Automake 1.11 229 229 \$(top_srcdir)/]$1[: 230 230 -
trunk/m4/yat_svn_release.m4
r1463 r1509 1 ## $Id: yat_svn_release.m4 2 448 2011-03-28 18:57:33Z peter $1 ## $Id: yat_svn_release.m4 2787 2012-07-23 03:14:44Z peter $ 2 2 3 # serial 7 (yat 0.8)3 # serial 9 (yat 0.9) 4 4 5 5 # SYNOPSIS … … 9 9 # DESCRIPTION 10 10 # 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 12 12 # 13 13 # include $(srcdir)/maintainer.am … … 24 24 # 25 25 # COPYLEFT 26 m4_define([yat_svn_release_copyright], [ 26 m4_define([yat_svn_release_copyright], [dnl 27 27 # 28 # Copyright (C) 2009, 2010, 2011 Peter Johansson28 # Copyright (C) 2009, 2010, 2011, 2012 Peter Johansson 29 29 # 30 30 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 47 47 AC_DEFUN([YAT_SVN_RELEASE], 48 48 [ 49 AC_REQUIRE([AC_PROG_SED]) 50 AC_REQUIRE([AC_PROG_EGREP]) 49 AC_REQUIRE([AC_PROG_SED]) 50 AC_REQUIRE([AC_PROG_EGREP]) 51 51 AC_CHECK_PROGS([MD5], [md5sum gmd5sum md5 md5deep], [no]) 52 52 m4_pushdef([YAT_OUTPUTFILE], [m4_default([$1], [maintainer.am])]) 53 53 54 AX_AC_PRINT_TO_FILE(YAT_OUTPUTFILE, 54 AX_AC_PRINT_TO_FILE(YAT_OUTPUTFILE, 55 55 [# ]YAT_OUTPUTFILE[ generated by autoconf from $0 56 56 ]yat_svn_release_copyright[ … … 58 58 check-release-tools maintainer-check release 59 59 60 # stub rule to work around bug in Automake 60 # stub rule to work around bug in Automake 1.11 61 61 \$(srcdir)/]YAT_OUTPUTFILE[: 62 62 … … 91 91 check-release-tools: 92 92 @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) 94 94 95 95 mc_exportdir=_exported
Note: See TracChangeset
for help on using the changeset viewer.