Changeset 732 for trunk


Ignore:
Timestamp:
Dec 15, 2008, 10:52:00 PM (13 years ago)
Author:
Peter Johansson
Message:
  • configure.ac: removed test that we are either in svn wc or DEV_BUILD is false

refs #362

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r730 r732  
    7070AC_PROG_RANLIB
    7171AC_PROG_SED
    72 AM_MISSING_PROG([HELP2MAN], [help2man])
     72AC_PATH_PROG([HELP2MAN], [help2man], [no])
     73AM_CONDITIONAL([HAVE_HELP2MAN], [test "$help2man" != "no"])
    7374AC_CHECK_PROG([GNUPLOT],[gnuplot],[ok])
    7475
  • trunk/man/Makefile.am

    r724 r732  
    2020# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
    2121
    22 dist_man1_MANS = svndigest.1
     22dist_man1_MANS = $(srcdir)/svndigest.1
    2323
    2424MAINTAINERCLEANFILES = $(dist_man1_MANS)
    2525
     26if HAVE_HELP2MAN
    2627# we would like to depend on svndigest binary, but since svndigest.1
    2728# is distributed it is recommended to depend on only distributed files
    2829# (see automake manual 27.5).
    29 svndigest.1: $(top_srcdir)/configure $(srcdir)/Makefile.in
     30$(srcdir)/svndigest.1: $(top_srcdir)/configure $(srcdir)/Makefile.in
    3031  @$(HELP2MAN) --no-info -o $@ \
    3132  --version-option="--no-verbose --version" \
    3233  $(top_builddir)/bin/svndigest$(EXEEXT)
     34else
     35$(srcdir)/svndigest.1:
     36  echo 'ab help2man is required to generate this page' > $@
     37endif
    3338
    3439
     
    3843dist-hook:
    3944  @if grep 'ab help2man is required to generate this page' \
    40   svndigest.1 >/dev/null; then \
     45  $(srcdir)/svndigest.1 >/dev/null; then \
    4146          echo "error: svndigest.1 is bogus" >&2; \
    4247          echo "       you need help2man to generate a valid man page" >&2;\
Note: See TracChangeset for help on using the changeset viewer.