Changeset 836 for trunk/lib


Ignore:
Timestamp:
Nov 9, 2009, 11:36:26 PM (14 years ago)
Author:
Peter Johansson
Message:

new make variable MOVE_IF_CHANGE, and avoid using '$<' which is not portable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Makefile.am

    r795 r836  
    2323# You should have received a copy of the GNU General Public License
    2424# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
     25
     26MOVE_IF_CHANGE = $(SHELL) $(top_srcdir)/build_support/move-if-change
    2527
    2628SUBDIRS = yat .
     
    6163if HAVE_SVN_WC
    6264$(srcdir)/subversion_info.cc: subversion_info.cc.tmp
    63   @$(SHELL) $(top_srcdir)/build_support/move-if-change subversion_info.cc.tmp \
    64   $(srcdir)/subversion_info.cc
     65  @$(MOVE_IF_CHANGE) subversion_info.cc.tmp $@
    6566
    6667subversion_info.cc.tmp: FORCE
     
    7273# update copyright year automatically (if we build from svn wc)
    7374$(srcdir)/copyright_year.cc: copyright_year.cc.tmp
    74   @$(SHELL) $(top_srcdir)/build_support/move-if-change $< $@
     75  @$(MOVE_IF_CHANGE) copyright_year.cc.tmp $@
    7576
    7677copyright_year.cc.tmp: FORCE
Note: See TracChangeset for help on using the changeset viewer.