Changeset 2428


Ignore:
Timestamp:
Feb 14, 2011, 2:40:10 AM (11 years ago)
Author:
Peter
Message:

closes #657 and fix remove in end of maintainer-check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_svn_release.m4

    r2425 r2428  
    11## $Id$
    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.