Changeset 1298 for trunk/man/Makefile.am


Ignore:
Timestamp:
Nov 14, 2010, 7:04:00 PM (11 years ago)
Author:
Peter Johansson
Message:

improve dependency for man rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/man/Makefile.am

    r1297 r1298  
    2929MAINTAINERCLEANFILES = $(dist_man1_MANS)
    3030
    31 # we would like to depend on svndigest binary, but since svndigest.1
     31# We would like to depend on binaries, but since svndigest.1
    3232# is distributed it is recommended to depend on only distributed files
    3333# (see automake manual 27.5).
    34 $(srcdir)/svndigest.1: $(top_srcdir)/configure $(srcdir)/Makefile.in \
    35   $(srcdir)/svndigest.x $(top_srcdir)/bin/svndigestParameter.cc
     34# We depend on configure to catch VERSION changes, Makefile.in to
     35# catch rules changes, svndigest.x is an obvious dependency, and
     36# subversion_info.cc changes for every revsion.
     37man_deps=$(top_srcdir)/configure $(srcdir)/Makefile.in \
     38  $(srcdir)/svndigest.x $(top_srcdir)/lib/subversion_info.cc
     39
     40$(srcdir)/svndigest.1: $(man_deps)
    3641  @$(HELP2MAN) --no-info -o $@ \
    3742  --include $(srcdir)/svndigest.x \
     
    3944  $(top_builddir)/bin/svndigest$(EXEEXT)
    4045
    41 $(srcdir)/svncopyright.1: $(top_srcdir)/configure $(srcdir)/Makefile.in \
    42   $(srcdir)/svndigest.x $(top_srcdir)/bin/svncopyrightParameter.cc
     46$(srcdir)/svncopyright.1: $(man_deps)
    4347  @$(HELP2MAN) --no-info -o $@ \
    4448  --include $(srcdir)/svndigest.x \
     
    4650  $(top_builddir)/bin/svncopyright$(EXEEXT)
    4751
    48 $(srcdir)/svndigest-copy-cache.1: $(top_srcdir)/configure $(srcdir)/Makefile.in \
    49   $(srcdir)/svndigest.x $(top_srcdir)/bin/svndigest-copy-cache.cc
     52$(srcdir)/svndigest-copy-cache.1: $(man_deps)
    5053  @$(HELP2MAN) --no-info -o $@ \
    5154  --include $(srcdir)/svndigest.x \
Note: See TracChangeset for help on using the changeset viewer.