Changeset 1337 for trunk/Makefile.am


Ignore:
Timestamp:
Feb 13, 2011, 12:57:58 AM (10 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/Makefile.am

    r1315 r1337  
    2727SUBDIRS = yat lib bin man test
    2828
    29 EXTRA_DIST = build_support/move-if-change .release_year
    30 MOVE_IF_CHANGE = $(SHELL) $(top_srcdir)/build_support/move-if-change
    3129
    3230lazycheck recheck: all
     
    3634  rm -rf svndigest *~
    3735
    38 .PHONY: .release_year.tmp recheck
    39 if HAVE_SVN_WC
    40 # update copyright year automatically (if we build from svn wc)
    41 $(srcdir)/.release_year: $(builddir)/.release_year.tmp
    42   @$(MOVE_IF_CHANGE) $(builddir)/.release_year.tmp $@
     36.PHONY: recheck
    4337
    44 $(builddir)/.release_year.tmp:
    45   @if ($(SVNVERSION) $(top_srcdir) | $(GREP) M > /dev/null); then \
    46      date -u "+%Y" > $@; \
    47   else \
    48      cp $(srcdir)/.release_year $@; \
    49   fi
    50 endif
     38## need to declare these variables here so they can be appended below
     39BUILT_SOURCES =
     40CLEANFILES =
     41CONFIG_STATUS_DEPENDENCIES =
     42DISTCLEANFILES =
     43EXTRA_DIST =
    5144
     45include $(top_srcdir)/svn_revision.am
     46include $(top_srcdir)/svn_revision_header.am
     47
     48include $(top_srcdir)/svn_release_year.am
    5249
    5350##############################################################
Note: See TracChangeset for help on using the changeset viewer.