Changeset 837
- Timestamp:
- Nov 10, 2009, 12:06:37 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Makefile.am
r836 r837 25 25 26 26 MOVE_IF_CHANGE = $(SHELL) $(top_srcdir)/build_support/move-if-change 27 SVN_REVISION = `$(SVNVERSION) $(top_srcdir)` 27 28 28 29 SUBDIRS = yat . … … 67 68 subversion_info.cc.tmp: FORCE 68 69 @echo '// subversion_info.cc generated from subversion_info.cc.in.' > $@ ;\ 69 revision= `$(SVNVERSION) $(top_srcdir)`;\70 revision=$(SVN_REVISION);\ 70 71 $(SED) -e 's/sub_2_svn_revision/r'$$revision'/g' \ 71 72 $(srcdir)/subversion_info.cc.in >> $@ ; … … 76 77 77 78 copyright_year.cc.tmp: FORCE 78 @ year=`svn info $(top_srcdir)|$(SED) -n 's/.*Date: \(.*\)-..-.*/\1/p'`;\79 $(SED) -e 's/"20[0-9][0-9]"/'\" $$year\"'/g' $(srcdir)/copyright_year.cc > $@ ;79 @(echo $(SVN_REVISION) | $(GREP) M) && \ 80 $(SED) -e 's/"20[0-9][0-9]"/'\"`date -u "+%Y"`\"'/g' $(srcdir)/copyright_year.cc > $@ ; 80 81 81 82 else
Note: See TracChangeset
for help on using the changeset viewer.