Changeset 562 for trunk/lib/Makefile.am


Ignore:
Timestamp:
Mar 7, 2008, 5:09:35 AM (14 years ago)
Author:
Peter Johansson
Message:

using Makefile variable SED

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Makefile.am

    r552 r562  
    6666  @echo '// svn_version.h generated from svn_version.h.in.' > $@ ;\
    6767  revision=`$(SVNVERSION) $(top_srcdir)` ;\
    68   year=`svn info $(top_srcdir)| sed -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
    69   sed -e 's/sub_2_svn_revision/'$$revision'/g' \
     68  year=`svn info $(top_srcdir)|$(SED) -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
     69  $(SED) -e 's/sub_2_svn_revision/'$$revision'/g' \
    7070  -e 's/sub_2_svn_year/'$$year'/g'  subversion_info.h.in >> $@ ;
    7171endif
Note: See TracChangeset for help on using the changeset viewer.