comparison srogue/configure.ac @ 223:0e99eade579c

Generate text documentation from the troff source files. This is done by make, in the 'docs' target, which is now part of the normal build process. Unfortunately, not all the games include troff sources. Getting decent HTML output from groff is still a difficult process which will not be attempted at this time. There are a few bugs in the 'install' and 'uninstall' rules. Not to mention that the documentation is sometimes inaccurate.
author John "Elwin" Edwards
date Sun, 21 Feb 2016 20:47:12 -0500
parents 5238b835d661
children c222f9d56776
comparison
equal deleted inserted replaced
222:a666e4a034ed 223:0e99eade579c
24 AC_TYPE_SIGNAL 24 AC_TYPE_SIGNAL
25 AC_FUNC_STAT 25 AC_FUNC_STAT
26 AC_FUNC_VPRINTF 26 AC_FUNC_VPRINTF
27 AC_CHECK_FUNCS([erasechar killchar alarm getpass memset setenv strchr nlist _spawnl spawnl getpwuid loadav getloadavg strerror setgid setuid getuid getgid lrand48 random srand48 srandom]) 27 AC_CHECK_FUNCS([erasechar killchar alarm getpass memset setenv strchr nlist _spawnl spawnl getpwuid loadav getloadavg strerror setgid setuid getuid getgid lrand48 random srand48 srandom])
28 AC_PROG_INSTALL 28 AC_PROG_INSTALL
29
30 AC_CHECK_PROG([NROFF], [nroff], [nroff],)
31 AC_CHECK_PROG([GROFF], [groff], [groff],)
32 AC_CHECK_PROG([COLCRT], [colcrt], [colcrt],)
33 AC_CHECK_PROG([TBL], [tbl], [tbl],)
29 34
30 AC_ARG_WITH(program-name, AC_HELP_STRING([--with-program-name=NAME],[alternate executable name]),[progname="$withval" ], [progname="srogue"] ) 35 AC_ARG_WITH(program-name, AC_HELP_STRING([--with-program-name=NAME],[alternate executable name]),[progname="$withval" ], [progname="srogue"] )
31 PROGRAM=$progname 36 PROGRAM=$progname
32 AC_SUBST(PROGRAM) 37 AC_SUBST(PROGRAM)
33 38