Changeset 838 for trunk


Ignore:
Timestamp:
Nov 10, 2009, 5:55:13 PM (12 years ago)
Author:
Peter Johansson
Message:

fixed bug that copyright_year.cc.tmp was not created in a pristine wc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Makefile.am

    r837 r838  
    7777
    7878copyright_year.cc.tmp: FORCE
    79   @(echo $(SVN_REVISION) | $(GREP) M) && \
    80   $(SED) -e 's/"20[0-9][0-9]"/'\"`date -u "+%Y"`\"'/g' $(srcdir)/copyright_year.cc > $@ ;
     79  @if (echo $(SVN_REVISION) | $(GREP) M); then \
     80    $(SED) -e 's/"20[0-9][0-9]"/'\"`date -u "+%Y"`\"'/g' \
     81      $(srcdir)/copyright_year.cc > $@ ; \
     82  else \
     83    cp $(srcdir)/copyright_year.cc $@; \
     84  fi
    8185
    8286else
Note: See TracChangeset for help on using the changeset viewer.