- Timestamp:
- Dec 17, 2008, 5:39:47 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r738 r739 71 71 AC_PROG_SED 72 72 AC_PATH_PROG([HELP2MAN], [help2man], [no]) 73 AM_CONDITIONAL([HAVE_HELP2MAN], [test "$help2man" != "no"])73 AM_CONDITIONAL([HAVE_HELP2MAN], [test x$help2man != xno]) 74 74 AC_CHECK_PROG([GNUPLOT],[gnuplot],[ok]) 75 75 … … 88 88 AC_ARG_ENABLE(debug, 89 89 [AS_HELP_STRING([--enable-debug],[turn on debug options and code])], 90 [SD_CXXFLAGS="$SD_CXXFLAGS -g -O"], 90 [SD_CXXFLAGS="$SD_CXXFLAGS -g -O"; 91 if test x$help2man = xno; then 92 AC_MSG_WARN(m4_text_wrap(m4_normalize([ 93 `help2man' is missing on your system. You will not be 94 able to create the man page. A sound man page should be 95 included in a distribution, and since you will not able 96 to create a complete distribution `make dist' will fail. 97 ]),[ ], 98 [ ], 79)) 99 fi], 91 100 [SD_CPPFLAGS="-DNDEBUG" SD_CXXFLAGS="$SD_CXXFLAGS -O3"]) 92 101 -
trunk/man/Makefile.am
r732 r739 34 34 else 35 35 $(srcdir)/svndigest.1: 36 echo "WARNING: bogus svndigest.1 is created" >&2; \ 36 37 echo 'ab help2man is required to generate this page' > $@ 37 endif38 39 38 40 39 # Checking that we don't ship a bogus man page, which might be created … … 42 41 # where we require Automake 1.11) 43 42 dist-hook: 44 @if grep 'ab help2man is required to generate this page' \ 45 $(srcdir)/svndigest.1 >/dev/null; then \ 46 echo "error: svndigest.1 is bogus" >&2; \ 47 echo " you need help2man to generate a valid man page" >&2;\ 48 echo " install help2man, remove svndigest.1 and run 'make'" >&2;\ 49 exit 1; \ 50 fi 43 echo "ERROR: svndigest.1 is bogus" >&2; \ 44 echo " you need help2man to generate a valid man page" >&2;\ 45 echo " install help2man, re-run `configure'," >&2;\ 46 echo " remove svndigest.1 and run 'make'" >&2;\ 47 exit 1; 48 endif
Note: See TracChangeset
for help on using the changeset viewer.