Changeset 1342 for trunk


Ignore:
Timestamp:
Feb 14, 2011, 2:52:23 AM (10 years ago)
Author:
Peter Johansson
Message:

update macros from yat

Location:
trunk/m4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_am_macros.m4

    r1339 r1342  
    1 ## $Id: yat_am_macros.m4 2425 2011-02-12 23:54:53Z peter $
    2 
    3 # serial 1 (yat 0.8)
     1## $Id: yat_am_macros.m4 2427 2011-02-13 17:56:00Z peter $
     2
     3# serial 2 (yat 0.8)
    44
    55m4_define([yat_am_macros_copyright], [
     
    102102dnl write rules to create .revision
    103103_YAT_AC_APPEND_TO_FILE(YAT_AM_FILE,
    104 EXTRA_DIST += yat_svn_revision_FILE
     104EXTRA_DIST += $(srcdir)/yat_svn_revision_FILE
    105105if HAVE_SVN_WC
    106106YAT_SVN_REVISION_FORCE:
     
    193193_YAT_AM_TOP([svn_release_year.am])
    194194_YAT_AC_APPEND_TO_FILE([svn_release_year.am],
    195 EXTRA_DIST += .release_year
     195EXTRA_DIST += $(srcdir)/.release_year
    196196CONFIG_STATUS_DEPENDENCIES += $(srcdir)/.release_year
    197197RELEASE_YEAR_FORCE:
  • trunk/m4/yat_svn_release.m4

    r1337 r1342  
    1 ## $Id: yat_svn_release.m4 2425 2011-02-12 23:54:53Z peter $
     1## $Id: yat_svn_release.m4 2428 2011-02-14 01:40:10Z peter $
    22
    3 # serial 5 (yat 0.8)
     3# serial 6 (yat 0.8)
    44
    55# SYNOPSIS
     
    9494
    9595mc_exportdir=_exported
     96mc_builddir=_exported_build
    9697
    9798maintainer-check:
    9899  rm -rf \$(mc_exportdir)
     100  rm -rf \$(mc_builddir)
    99101  svn export \$(srcdir) \$(mc_exportdir)
    100   mkdir \$(mc_exportdir)/_build
     102  mkdir \$(mc_builddir)
    101103  @cd \$(mc_exportdir) \\
    102104  && echo \"./bootstrap\" \\
    103105  && ./bootstrap \\
    104   && cd _build \\
    105   && ../configure --srcdir=.. \$(DISTCHECK_CONFIGURE_FLAGS) \\
     106  && cd ../\$(mc_builddir) \\
     107  && ../\$(mc_exportdir)/configure --srcdir=../\$(mc_exportdir) \\
     108     \$(DISTCHECK_CONFIGURE_FLAGS) \\
    106109  && ( test -z \"\$(MAINTAINER_CHECK_LOCAL)\" || \\
    107110        \$(MAKE) \$(AM_MAKEFLAGS) \$(MAINTAINER_CHECK_LOCAL) ) \\
    108   && \$(MAKE) \$(AM_MAKEFLAGS) dist \\
    109   && rm -rf \$(mc_exportdir)
     111  && \$(MAKE) \$(AM_MAKEFLAGS) dist || exit 1
     112  rm -rf \$(mc_builddir) \$(mc_exportdir)
    110113
    111114release: all
Note: See TracChangeset for help on using the changeset viewer.