Changeset 1337 for trunk/lib/Makefile.am


Ignore:
Timestamp:
Feb 13, 2011, 12:57:58 AM (12 years ago)
Author:
Peter Johansson
Message:

using macros from yat to create files .release and .release_year

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Makefile.am

    r1324 r1337  
    2222# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
    2323
    24 MOVE_IF_CHANGE = $(SHELL) $(top_srcdir)/build_support/move-if-change
    25 SVN_REVISION = `$(SVNVERSION) $(top_srcdir)`
    26 
    2724AM_CPPFLAGS = -I$(top_srcdir) $(SVNDIGEST_CPPFLAGS)
    2825AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
     
    3936  main_utility.h Node.h NodeCounter.h NodePrinter.h NodeVisitor.h \
    4037  OptionVersion.h rmdirhier.h \
    41   Stats.h StatsCollection.h StatsPlotter.h subversion_info.h \
     38  Stats.h StatsCollection.h StatsPlotter.h subversion_revision.h \
    4239  SvndigestVisitor.h SVN.h SVNblame.h \
    4340  SVNdiff.h SVNinfo.h SVNlog.h SVNproperty.h TinyStats.h \
     
    6057  html_utility.cc LineTypeParser.cc main_utility.cc Node.cc \
    6158  NodeCounter.cc OptionVersion.cc \
    62   rmdirhier.cc Stats.cc StatsCollection.cc SVN.cc \
     59  rmdirhier.cc Stats.cc StatsCollection.cc subversion_revision.cc SVN.cc \
    6360  SVNblame.cc SVNdiff.cc SVNinfo.cc \
    6461  SVNlog.cc SVNproperty.cc TinyStats.cc \
    6562  Trac.cc utility.cc Vector.cc
    66 
    67 nodist_libsvndigest_core_a_SOURCES = subversion_info.cc
    68 
    69 
    7063
    7164clean-local:
     
    7467all-local:
    7568
    76 EXTRA_DIST = subversion_info.cc.in .revision
    77 CLEANFILES = subversion_info.cc
    7869
    79 if HAVE_SVN_WC
    80 $(srcdir)/.revision: FORCE
    81   @$(SVNVERSION) $(top_srcdir) > $@-t && $(MOVE_IF_CHANGE) $@-t $@
    82 else
    83 ## this is needed in 'svn export' build
    84 $(srcdir)/.revision:
    85   echo "" > $@
    86 endif
    87 
    88 subversion_info.cc: $(srcdir)/subversion_info.cc.in $(srcdir)/.revision
    89   @rm -f $@-t $@ && \
    90   { revision=`cat $(srcdir)/.revision`; \
    91     echo '// DO NOT EDIT! GENERATED AUTOMATICALLY!' && \
    92     $(SED) -e 's/sub_2_svn_revision/r'$$revision'/g' \
    93     < $(srcdir)/subversion_info.cc.in; \
    94   } > $@-t && mv $@-t $@
    95 
    96 FORCE:
Note: See TracChangeset for help on using the changeset viewer.