Changeset 549


Ignore:
Timestamp:
Jan 7, 2008, 3:25:55 PM (14 years ago)
Author:
Peter Johansson
Message:

variables ECHO and SED are not always set by autotools therefore using hardcoded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Makefile.am

    r543 r549  
    5757  if test -s "subversion_info.h.diff"; then \
    5858    mv subversion_info.h.tmp subversion_info.h; \
    59     $(ECHO) creating subversion_info.h; \
     59    echo creating subversion_info.h; \
    6060  fi; \
    6161  rm -f subversion_info.h.tmp subversion_info.h.diff ;
     
    6363
    6464subversion_info.h.tmp: FORCE
    65   @$(ECHO) '// svn_version.h generated from svn_version.h.in.' > $@ ;\
     65  @echo '// svn_version.h generated from svn_version.h.in.' > $@ ;\
    6666  revision=`$(SVNVERSION) $(top_srcdir)` ;\
    67   year=`svn info $(top_srcdir)| sed -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
    68   $(SED) -e 's/sub_2_svn_revision/'$$revision'/g' \
     67  year=`svn info $(top_srcdir)| sed -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
     68  sed -e 's/sub_2_svn_revision/'$$revision'/g' \
    6969  -e 's/sub_2_svn_year/'$$year'/g'  subversion_info.h.in >> $@ ;
    7070endif
Note: See TracChangeset for help on using the changeset viewer.