comparison rogue5/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 71cb5b647f2b
children c222f9d56776
comparison
equal deleted inserted replaced
222:a666e4a034ed 223:0e99eade579c
3 3
4 AC_PREREQ(2.56) 4 AC_PREREQ(2.56)
5 AC_INIT([Rogue],[5.4.5], [yendor@rogueforge.net]) 5 AC_INIT([Rogue],[5.4.5], [yendor@rogueforge.net])
6 AC_CONFIG_SRCDIR([armor.c]) 6 AC_CONFIG_SRCDIR([armor.c])
7 AC_CONFIG_HEADER([config.h]) 7 AC_CONFIG_HEADER([config.h])
8 AC_CONFIG_FILES([Makefile rogue.6 rogue.cat rogue.doc rogue.html rogue.me]) 8 AC_CONFIG_FILES([Makefile rogue.6 rogue.me rogue.html])
9 9
10 # Checks for programs. 10 # Checks for programs.
11 AC_PROG_CC 11 AC_PROG_CC
12 AC_PROG_INSTALL 12 AC_PROG_INSTALL
13 13
36 36
37 AC_CHECK_PROG([NROFF], [nroff], [nroff],) 37 AC_CHECK_PROG([NROFF], [nroff], [nroff],)
38 AC_CHECK_PROG([GROFF], [groff], [groff],) 38 AC_CHECK_PROG([GROFF], [groff], [groff],)
39 AC_CHECK_PROG([COLCRT], [colcrt], [colcrt],) 39 AC_CHECK_PROG([COLCRT], [colcrt], [colcrt],)
40 AC_CHECK_PROG([TBL], [tbl], [tbl],) 40 AC_CHECK_PROG([TBL], [tbl], [tbl],)
41 AC_CHECK_PROG([SED], [sed], [sed],)
42 41
43 AC_ARG_WITH(program-name, AC_HELP_STRING([--with-program-name=NAME],[alternate executable name]),[progname="$withval" ], [progname="rogue5"] ) 42 AC_ARG_WITH(program-name, AC_HELP_STRING([--with-program-name=NAME],[alternate executable name]),[progname="$withval" ], [progname="rogue5"] )
44 PROGRAM=$progname 43 PROGRAM=$progname
45 AC_SUBST(PROGRAM) 44 AC_SUBST(PROGRAM)
46 45