summaryrefslogtreecommitdiff
path: root/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
...
* * src/roff/troff/input.cpp (string_iterator::fill): Protect againstwl2005-02-281-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | null pointer. * tmac/papersize.tmac: Convert `paper' string contents to lowercase. * configure: Regenerated. * NEWS: Updated. Integrate `pdfmark' into normal groff build system; install macro `pdfmark' packages, build and install `pdfroff', and PDF format documentation. * Makefile.comm: Add PDFDOCDIR. * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS, pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables. (unstall_dirs): Add pdfdocdir. * aclocal.m4: (GROFF_APPRESDIR_OPTION): use AC_HELP_STRING instead of AS_HELP_STRING. (GROFF_GHOSTSCRIPT_PREFS): New function; support `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS. (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT. (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up. (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option, set ALT_AWK_PROGS. (GROFF_AWK_PATH): New function; support `--with-awk' option, force use of GROFF_AWK_PREFS. (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc. * configure.ac: Add AC_PREREQ(2.56), GROFF_PDFDOC_PROGRAMS. Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and also by modified GROFF_HTML_PROGRAMS).
* Import Mike's `gdiffmk' package.wl2004-12-111-1/+2
| | | | | | * contrib/gdiffmk/*: New files. * Makefile.in (OTHERDIRS): Add contrib/gdiffmk. * NEWS: Updated.
* *** empty log message ***wl2004-12-081-0/+1
|
* (OTHERDIRS: Fix directory order.wl2004-12-081-2/+2
|
* Import Keith's `pdfmark' package. Integration is very preliminary.wl2004-12-081-0/+1
| | | | | | * contrib/pdfmark/*: New files. * Makefile.in (OTHERDIRS): Add contrib/pdfmark. * NEWS: Updated.
* * Makefile.in (check): Depend on `site.exp' and `docheck'.wl2004-10-151-2/+26
| | | | | | | (docheck): Run dejagnu's `runtest' if it exists. (site.exp): Create dejagnu configuration file. * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
* * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.wl2004-10-071-1/+7
| | | | | | | | | * configure.ac: Call GROFF_GHOSTSCRIPT_PATH. * configure: Regenerated. * Makefile.in (GHOSTSCRIPT): New variable. (MDEFINES): Add GHOSTSCRIPT.
* * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.wlemb2004-06-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily. Add test for Xmu library. (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK, GROFF_APPRESDIR_DEFAULT): New macros. * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK, and GROFF_APPRESDIR_DEFAULT. * configure: Regenerated. * Makefile.in (appresdir): New variable. (MDEFINES): Add appresdir. * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and -Xt. (install_data, uninstall_sub): New targets to handle GXditview.ad. * src/utils/indxbib/Makefiles.ub (install_data): Depend on `$(srcdir)/eign', not `eign'. * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated. * man/groff_out.man, man/roff.man, src/devices/grops/grops.man, src/devices/xditview/gxditview.man, src/roff/groff/groff.man: Protect (g)xditview with `\%' to avoid hyphenation. Other minor formatting.
* Integrate gxditview into groff's standard directory hierarchy.wlemb2004-06-011-10/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xditview/*: Moved to ... * src/devices/xditview/*: Here. Moved DviChar.h and XFontName.h to src/include. Moved DviChar.c and XFontName.c to new directory src/libs/libxutil. Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c. Moved xtotroff.c to new directory src/utils/xtotroff. Provide proper Makefile.sub files (reusing the stuff from Imakefile.in). DESC renamed to DESC.in. Removed GXDitview-ad.h, INSTALL, Imakefile.in. Converted everything from K&R to ANSI C. Decorated with const where appropriate. Cast string constants with `String' and `char *' where appropriate. Made it compile with C++ (used as a C compiler). Removed other minor compiler warnings. * src/devices/xditview/device.c: Include config.h, string.h, and defs.h. Don't declare `exit', `strtok', `strchr', and `getenv'. (FONTPATH): Remove. * src/devices/xditview/font.c: Don't declare `XParseFontName' and `XFormatFontName'. * src/devices/xditview/xditview.c: Include config.h. Include stdio.h earlier. Protect declaration of `popen' and `pclose' with NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE. Replace `caddr_t' with `XtPointer'. (MakePromptFunc): New typedef. (DoPrint): Use RETSIGTYPE. (promptfunction): Change type to MakePromptFunc. (MakePrompt): Use MakePromptFunc for third argument. (xmalloc): Removed. * src/devices/xditview/ad2c: Add casts to `String'. * src/include/XFontName.h (XFontNameString): Don't use array notation. Add prototypes for `XParseFontName', `XFormatFontName', `XCompareFontName', and `XCopyFontName'. * src/include/Makefile.sub (HDRS): Add `DviChar.h' and `XFontName.h'. * src/utils/xtotroff/xtotroff.c: Include getopt.h. Don't declare `XParseFontName' and `XFormatFontName'. (xmalloc): Removed. (main): Remove `optind' and `optarg'. * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables (to select programs which need X). Make XDEVIDIRS depend on `FORCE'. (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for X support). (MDEFINES): Updated. (LIBDIRS): Use XLIBDIRS. (CPROGDIRS): Use XPROGDIRS. (DEVDIRS): Remove font directories for gxditview. (ALLDIRS, DISTDIRS): Add XDEVDIRS. (EXTRADIRS): Remove src/xditview. * Makefile.sub (DISCLEANFILES): Updated. * Makefile.comm (LIBXUTIL): New variable. (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS. (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS. * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS. * aclocal.m4 (GROFF_X11): New function. * configure.ac: Call GROFF_X11. Don't create src/xditview/Imakefile. Don't emit notice how to build gxditview. * configure: Regenerated. * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
* * Makefile.in (CPPFLAGS): Define.wlemb2004-05-291-0/+2
| | | | (MDEFINES): Add CPPFLAGS.
* * REVISION: Set to 2.wlemb2004-05-161-1/+1
| | | | | | | | | | | * aclocal.m4 (GROFF_STDINT_H): Removed. (GROFF_INTTYPES_H): Define HACE_CC_INTTYPES_H. * configure.ac: Updated. * configure, src/include/config.hin: Regenerated. * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but inttypes.h conditionally.
* Make scripts like nroff.sh and neqn.sh portable across variouswlemb2004-04-071-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | (Unix-like) shell implementations from Cygwin, MSYS, etc., which use non-POSIX path separators. The idea is to extend those scripts to decide at run-time (of the script) which path separator to use. * arch/misc/Makefile.sub: New file. * arch/misc/shdeps.sh: New file, generating OS dependency fixups. This script handles @GROFF_BIN_PATH_SETUP@, replacing it with a proper definition of the variable `GROFF_RUNTIME'. * Makefile.in (SH_DEPS_SED_SCRIPT): New variable. (MDEFINES): Add SH_DEPS_SED_SCRIPT. (PROGDEPDIRS): New variable. `FORCE' it. (PROGDIRS): Add PROGDEPDIRS. * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT. Don't substitute @SEP@ and @BINDIR@. * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@. (PATH): Use GROFF_RUNTIME. * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT. Don't substitute @SEP@ and @BINDIR@. * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@. (PATH): Use GROFF_RUNTIME.
* * Makefile.in (SEP): Replaced with...wlemb2004-03-051-5/+15
| | | | | | | | | | | | | | | | | | | | (RT_SEP, SH_SEP): Separators for the target platform's native path separator and the build environment, respectively. (fontpath, tmacpath): Use RT_SEP. (MDEFINES): Updated. * contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP. * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP. * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP. * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP. * fonts/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to reduce alignment problems with newer printers which use built-in TrueType fonts (instead of the older Intellifonts). The ideal solution is to provide a second set of groff metric files, but this is extremely time-consuming to produce, given that HP's metric files are very rudimentary.
* Use path separator character of target platform for compiled-inwlemb2003-12-061-1/+1
| | | | | | | | | | | | default paths. * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro. * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR. * configure: Regenerated. * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR. * src/include/nonposix.h (PATH_SEP_CHAR): New definition. Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
* LynxOS 4.0.0 doesn't declare vfprintf.wlemb2003-11-131-0/+2
| | | | | | | * configure.ac: Check for vfprintf. * configure: Regenerated. * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'. * src/include/config.hin: Regenerated.
* LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.wlemb2003-11-121-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for vsnprintf. * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and `HAVE_VSNPRINTF'. * src/include/config.hin: Regenerated. * aclocal.m4: Updated syntax to autoconf 2.59. (GROFF_HTML_PROGRAMS): Use AC_FOREACH. Don't check for gsos2. (GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides working abs_top_srcdir and abs_top_builddir. * configure.ac: Updated syntax to autoconf 2.59. Don't call GROFF_SRCDIR and GROFF_BUILDDIR. Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS. * configure: Regenerated. * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/, s/@groff_top_builddir@/@abs_top_builddir@/. * src/roff/groff/pipeline.c (xstrsignal): s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/. * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always make start angle smaller than end angle to circumvent a bug in tpic handling of some versions of dvipdfm (and dvipdfmx).
* * contrib/mom/Makefile.sub: Fix last change to make it really work.wlemb2003-09-011-17/+22
| | | | | | | * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'. (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and $(DEVFILES) are not empty. * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
* Integrated grap2graph, contributed by Eric S. Raymond.wlemb2003-07-021-0/+1
| | | | | | | * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}: New files. * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man, contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
* * Makefile.in (SHELL): Define as @SHELL@.wlemb2003-07-011-2/+4
| | | | | | (mkinstalldirs): Use $(SHELL). (MDEFINES): Add $(SHELL). * Makefile.comm (SHELL): Removed.
* HP-UX 10.20 has `snprintf' but it isn't declared.wlemb2003-04-231-0/+1
| | | | | | | * configure.ac: Add declaration test for snprintf. * configure: Regenerated. * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'. * src/include/config.hin: Regenerated.
* Renamed all `*.cc' files to `*.cpp'.wlemb2003-04-151-1/+1
| | | | Updated all configuration files, makefiles, and documentation.
* Check for stdint.h in C++, not in C.wlemb2003-04-041-1/+1
| | | | | | | | | | | | | | | * aclocal.m4 (GROFF_STDINT_H): New function, * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of AC_CHECK_HEADERS. * configure, src/include/config.hin: Regenerated. * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H. * src/libs/libgroff/maxfilename.cc: s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/. * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't emit word marker.
* Make groff independent from locale's numeric settings.wlemb2003-04-031-1/+2
| | | | | | | | | | | | | | | | | * configure.ac: Check for `setlocale'. * configure, src/include/config.hin: Regenerated. * src/include/lib.h: Handle HAVE_SETLOCALE. * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc (main), src/preproc/pic/main.cc (main): Call `setlocale'. * doc/groff.texinfo (Man font macros): Mention that there is no space between arguments of .BI and friends. * man/roff.man: Small fixes.
* * Makefile.in (LIBEXT): New variable to indicate the file extensionwlemb2003-03-171-0/+3
| | | | | | | | | | | | | | of library files. Computed heuristically from $(OBJEXT). (MDEFINES): Add $(LIBEXT). * Makefile.lib, Makefile.comm: Use it. * src/utils/pfbtops/pfbtops.c (get_text): New function. Split overlong lines into smaller chunks. (get_binary): New function. (main): Use them. * src/utils/pfbtops/pfbtops.man: Updated. * src/roff/groff/groff.man: Minor syntax fix.
* * Makefile.sub (DISTCLEANFILES): Add gxditview._man.wlemb2003-03-051-2/+2
| | | | | * font/devps/generate/textmap: Remove entry `similarequal'. * font/devps/symbolmap: Updated.
* * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.wlemb2003-02-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | (GROFF_PNMTOPS_NOSETPAGE): New macro. * configure.ac: Use it. * configure: Regenerated. * Makefile.in: Updated. * tmac/Makefile.sub (NORMALFILES): Remove www.tmac. (CLEANADD): Add www.tmac-sed. (pnmtops_nosetpage): Define default. (install_data): Handle www.tmac-sed and substitute @PNMTOPS_NOSETPAGE@. (stamp-sed): Add www.tmac. * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken. It now breaks URLs at suitable places. (www:substring_ok): New register set by... (www:@test_substring): New macro. (www:error): New alias to www-error. (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted): New macros. (URL): Use www:url_breaks. (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@. (CDS, CDE): New macros. * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid buffer overflow.
* Add memory management for colors to deallocate unnamed colorswlemb2003-02-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | properly. * src/include/color.h (color): New members `free_list' and `next'. New member functions `new' and `delete'. Add deconstructor. * src/libs/libgroff/color.cc: Implement it. * src/libs/libgroff/font.cc (font::add_kern): Use integer cast for array size of new operator. * src/libs/libdriver/input.cc (IntArray::operator[]): Remove redundant comparison. * src/roff/troff/input.cc (word_space_node::reread, hmotion_node::reread): Avoid warning about unused parameter. (reset_output_registers): Remove redundant parameter. (define_color): Undo change 2003-02-12. * src/roff/troff/reg.h: Updated. * src/roff/troff/node.cc (troff_output_file::really_print_line, output_file::put_filename, real_output_file::really_put_filename, ascii_output_file::really_print_line, break_char_node::get_hyphen_list): Avoid warning about unused parameter. (suppress_node::tprint): Updated. * configure.ac: Check declaration for rand() and srand(). * configure: Regenerated. * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand() conditionally. * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(), and srand(). * src/preproc/eqn/delim.cc (delim_table): Add missing initializers to avoid compiler warnings. * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is unused. * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter is unused. * src/devices/grops/psrm.cc (skip_possible_newline): Remove first (unused) parameter. Updated all callers. * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter is unused. * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto. * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto. * src/devices/grohtml/post-html.cc (html_printer::emit_line): Parameter is unused. (html_printer::add_table_end): Define parameter conditionally. * src/devices/grohtml/output.cc (simple_output::special): Parameter is unused. * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally. (lbp_printer::set_char): Last parameter is unused. * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
* * Makefile.in (MDEFINES): Add $(SEP).wlemb2003-01-281-58/+59
| | | | Sorted alphabetically.
* * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check withwlemb2003-01-281-2/+3
| | | | | | | | | | | | | `access' before calling `unlink'. (do_file): Handle __EMX__. * src/include/nonposix.h: Handle __EMX__. * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@. (fontpath,tmacpath): Use it. * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use @PATH_SEPARATOR@.
* * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:wlemb2003-01-281-1/+2
| | | | | | | | | | | | | | | | New files, copied from gnulib. * src/libs/libgroff/Makefile.sub (CSRCS): Add them. * configure.ac: Updated. * configure: Regenerated. * src/include/config.hin: Regenerated. * src/include/lib.h [!HAVE_STRCASECMP]: Declare strcasecmp. Don't define strcasecmp as strcmp. [!HAVE_STRNCASECMP]: Declare strncasecmp. Dont define strncasecmp as strncmp. * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]: Removed.
* Add a site-specific font directory.wlemb2002-09-161-32/+41
| | | | | | | | | | | | | | | | | | | * Makefile.in (localfontdir, legacyfontdir): New variables. (fontpath): Use them. (MDEFINES, uninstall_dirs): Updated. * Makefile.comm (.man.n): Add `LOCALFONTDIR' and `LEGACYFONTDIR'. Remove `FONTPATH' and `MACROPATH'. * src/roff/troff/troff.man, NEWS: Updated. * doc/groff.texinfo (Font Directories): New section. Other minor fixes. * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man, src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man, src/preproc/grn/grn.man: Minor fixes. * src/devices/grohtml/post-html.cc (html_printer::do_tab_ts): Remove unused variable.
* Use OBJEXT for the object file extension.wlemb2002-08-231-1/+4
| | | | | | | | * Makefile.comm (.SUFFIXES): Add .obj. (.cc.obj, .c.obj): New implicit rules. * Makefile.in (OBJEXT): New variable, initialized from autoconf. (MDEFINES): Add EXEEXT and OBJEXT. * */Makefile.sub: s/.o/.$(OBJEXT)/.
* * configure.ac: Test for isatty.wlemb2002-07-231-0/+1
| | | | | | | | | | | | * configure: Regenerated. * src/include/posix.h: Check HAVE_ISATTY. * src/roff/troff/input.cc [ISATTY_MISSING]: Removed. * src/utils/lookbib/lookbib.cc: Include posix.h. Don't declare isatty. * NEWS: Add `output' request. * REVISION: Increased to 1.
* Integrated eqn2graph, contributed by Eric S. Raymond.wlemb2002-07-071-0/+1
| | | | | | * contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New files. * Makefile.in, NEWS: Updated.
* Add a `color' request and a `.color' register to control usage ofwlemb2002-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | colours. * src/roff/troff/input.cc (disable_color_flag): Replaced with... (color_flag): This (which is the inverse). (activate_color): New function. (main, init_input_requests): Updated. * src/roff/troff/troff.h, src/roff/troff/node.cc (troff_output_file::fill_color, troff_output_file::glyph_color): Updated. * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document the changes. Circumvent bug in autoconf 2.53 regarding top_builddir. * aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/. * Makefile.in, src/xditview/Imakefile.in, doc/Makefile.in: s/@top_builddir@/@groff_top_builddir@/. * configure: Regenerated (with autoconf 2.53).
* Don't produce HTML files if utility programs are missing.wlemb2002-06-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | * Makefile.in (make_html, make_install_html): New variables. (MDEFINES): Updated. * aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML utility programs. * configure.ac: Use it. * configure: Regenerated. * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to... (HTMLEXAMPLESFILES): This new variable. (EXAMPLESIMAGEFILES): Renamed to... (HTMLEXAMPLEIMAGEFILES): This. (CLEANADD): Add HTMLEXAMPLEFILES. (all): Use `make_html'. (html): New target. (install_data): Use `make_install_html'. Move html stuff to... (install_html): This new target. (uninstall_sub): Updated.
* * Makefile.comm (CLEANNOTSRCDIRADD): New target for files whichwlemb2002-06-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | should be removed only if builddir is not srcdir. (mostlyclean): Handle `CLEANNOTSRCDIRADD'. (clean): Depend on `mostlyclean'. (distclean): Depend on `clean'. (realclean, extraclean): Depend on `distclean'. (.y.cc, .y.o): Simplified. The output files are no longer written to srcdir but to builddir. * Makefile.in (MDEFINES): Add `version' and `revision'. (uninstall_dirs): Fix order of directories. * doc/Makefile.sub (version, revision): Removed. (CLEANADD): Removed grnexmpl.g, groff, groff-*. Added `HTMLDOCFILES'. (CLEANNOTSRCDIRADD): New target for grnexmpl.h, groff, groff-*. * contrib/mom/Makefile.sub (uninstall_sub): Don't use `momdocdir' but `htmldocdir'. Add missing backslash. * src/preproc/eqn/Makefile.sub, src/preproc/pic/Makefile.sub, src/preproc/refer/Makefile.sub (YTABC, YTABH): Don't use `srcdir' as prefix. * doc/texinfo.tex (\authortt): New macro. (\shortcontt): Define. (\titlepage): Set \tt to \authortt while defining \authorfont. (\appendixbox): New macro. (\chapmacro, \appendixentry): Use \appendixbox to get even indentation for letters. (\summarycontents): Set \tt. (\internalpagesize): Add two arguments for real paper width and height as needed by pdfTeX. (\letterpaper, \smallbook, \afourpaper, \afivepaper, \afourlatex): Updated. (\tempdima, \tempdimb): New temporary dimensions. (\pagesizesyyy): Updated.
* * doc/Makefile.sub (CLEANADD): Add grnexmpl.g, groff, and groff-*wlemb2002-05-301-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to list only if srcdir != currdir. (distfiles): New target. * Makefile.in (EXTRADIRS): Add font/devlj4/generate. (NOMAKEDIRS): New variable. (DISTDIRS): Use it. ________________________________________________________________ * release of groffer 0.6 This is almost a complete rewrite since groffer 0.5 . ________________________________________________________________ * Documentation * groffer.man: - Apply the changes done in www.tmac (.URL and .MTO) - Replace \fP by \f[]. - Redesign and rewrite most macros. - Include the documentation for the new features. - Greatly enlarge section ENVIRONMENT - Add examples. * TODO: - Start a TODO file with several sections. * ChangeLog: Due to the many changes, shorten and rearrange the entries since groffer 0.5 . ________________________________________________________________ * Shell compatibility * groffer.sh: - Due to possible conflicts in old BSD versions, `[]' was replaced by `test'; the `test' options `-a' and `-o' were replaced by multiple calls of `test'. - Write interface to the `sed' command `s' to become independent of the delimiter character. Rewrite all text manipulating function to use this new scheme. The new functions are named `string_*'. - `tr' is not needed any longer, replaced by `sed'. - `grep' is not needed any longer, mostly replaced by `case'. - Revision of test for `getopt'. - Remove `set -a'; explicitly export variables. - The only external programs used are POSIX `sed' and the fallback to `apropos'. All other program calls were replaced by shell builtins and functions. ________________________________________________________________ * Cosmetics * groffer.sh: - Implement a prefix based naming scheme for local variables and functions (OOP-like). - Introduce variables for white space (better readability with $IFS). - Store the names of the processed filespecs into a variable instead of a temporary file. - Error-prone shell constructions were replaced by functions with a simple interface. - To avoid too long pipes, replace supercat() by do_fileargs(); every input file is handled independently. ________________________________________________________________ * New features: - Add support for more X devices (e.g. X75-12 and X100-12). - Add long option `--intermediate_output' to `-Z'. - Make the options for mode selection clobber each other. - Add option `--mode' with an argument having the following values: `X': force displaying in X, same as options `-X'; `tty': display with a pager on text terminal; same as `--tty'; `source', `default', `auto', etc. - Make the handling of the X mode like in groff (e.g. -X -Tps). - Make resolution for gxditview behave like groff (default 75 dpi). - Add environment variable $GROFFER_OPT to preset groffer options. ________________________________________________________________ * implement most of the functionality of GNU `man'. - Add all `man' long options to groffer. - Add all `man' environment variables. - Parse and use content of `$MANOPT'. - The precedence of the options and environment variables is regulated like in GNU `man'. - Force the option `--manpath' to have a colon-separated argument like GNU `man'. - Support `man section name' calling convention. - Remove all dependencies on `man -w'. * groffer.sh: - Add the new features above. - Rewrite the search algorithm for man pages. - Remove searching with `man -w' (problems with space characters in file names). - Fix and complement usage(). - The filespec parsers gets a function of its own do_manpage().
* Add .output request, similar to \! at top-level.wlemb2002-05-271-0/+1
| | | | | | | | | | | | * src/roff/troff/input.cc (transparent): Remove unused declaration. (output_request): New function. (init_input_requests): Add it. Sorted. * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it. * Makefile.in (MDEFINES): Add INSTALL_INFO. * doc/groff.texinfo (@direntry): Fix it.
* Including the doc subdir into groff's Makefile system.wlemb2002-05-261-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aclocal.m4 (GROFF_INSTALL_INFO): New function. * configure.ac: Use it. Generate `doc/Makefile'. * configure: Regenerated. * Makefile.in (infodir, INSTALL_INFO): New variables. (MDEFINES, uninstall_dirs): Updated. (OTHERDIRS): Add `doc'. * Makefile.comm (CLEANDIRADD): New variable. (mostlyclean): Use it. * doc/Makefile.sub, doc/Makefile.in: New files. * doc/Makefile: Removed. * NEWS, INSTALL: Updated. * doc/homepage.ms: Renamed to ... * doc/webpage.ms: This. Use `.NHR'. * contrib/mom/Makefile.sub (momdocdir): Removed. (HTMLDOCFILES): Prepend `momdoc/'. (EXTRAEXAMPLEFILES): Removed. Added entries to... (EXAMPLEFILES): This. (.SUFFIXES, .mom.ps): New. (prepare_make_examples): Updated. (examples/*.ps): Removed; .mom.ps will handle this. (install_data): Updated.
* Integrating the `mom' macro package, contributed by Peter Schaffterwlemb2002-05-231-1/+15
| | | | | | | | | | | | | <df191@ncf.ca>. * contrib/mom/*: New subdirectory tree. * Makefile.in (docdir, exampledir, htmldocdir): New variables to be used for documentation files. (MDEFINES, uninstall_dirs): Use them. (OTHERDIRS): Add contrib/mom. * Makefile.comm (.man.n): Add @DOCDIR@, @EXAMPLEDIR@, and @HTMLDOCDIR@. * MANIFEST, NEWS: Updated.
* * doc/fdl.texi: New file.wlemb2002-05-021-0/+1
| | | | | | | | | | | | | | | | | | | * doc/groff.texinfo: Include it. Define and use @copying. Starting with separating glyph, symbol, and character. * Makefile.in (EXEEXT): Set it. * src/*/Makefile.sub (PROG): Add $(EXEEXT) for all non-script programs. * src/include/nonposix.h: Define GS_NAME. * src/preproc/html/pre-html.cc (createAllPages): Use GS_NAME. Some preliminary changes for EMX support under OS/2. * src/preproc/pic/main.cc (main), src/roff/groff/pipeline.c: Add __EMX__ similar to __MSDOS__. * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Use `unlink'.
* * aclocal.m4 (GROFF_EBCDIC): Don't include `font/devutf8' inwlemb2002-02-241-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TTYDEVDIRS. Define new variable OTHERDEVDIRS (containing `font/devlj4 font/devlbp' if not EBCDIC). * Makefile.in (TTYDEVDIRS): Always include `font/devutf8'. (OTHERDEVDIRS): New variable. (MDEFINES, DEVDIRS, ALLDIRS, DISTDIRS): Updated. * configure: Regenerated. * NEWS, src/devices/grotty/grotty.man: Updated. * src/roff/troff/input.cc (do_overstrike, do_bracket, get_line_arg): Honour input level. Add new symbol `mc' corresponding to U+00B5 MICRO SIGN. * font/*/*: Implement it in all font files. * font/devps/generate/textmap, font/devps/generate/symbolchars, * font/devps/symbolmap: Updated. * font/devlj4/generate/text.map: Updated. * font/devdvi/generate/CompileFonts (sizes): Add LaTeX sizes. * font/devdvi/generate/texmi.map: Updated. * font/devutf8/R.proto: Remove all `charXXX' entries. * font/devutf8/NOTES: Updated. * font/devX*/*: Regenerated with xtotroff, using fonts from XFree86 version 4.1.0. * tmac/latin1.tmac, tmac/psold.tmac, tmac/tty-char.tmac: Updated. * NEWS, man/groff_char.man: Updated.
* Integrated groffer, contributed by Bernd Warken.wlemb2002-01-051-2/+3
| | | | | * contrib/groffer/*: New. * Makefile.in, NEWS: Updated.
* Use a config.h file.wlemb2001-08-191-1/+3
| | | | | | | | | | | | | | | | | | | | * src/include/lib.h: Include config.h. * All C files: Ditto (if necessary). * All C++ source and header files: Include lib.h first (if necessary). * src/include/config.hin: New file (autogenerated by autoheader). * stamp-h.in: New file. * configure.ac: Updated. * aclocal.m4: Add third parameters to AC_DEFINE macros. (GROFF_ARRAY_DELETE): Simplified. * Makefile.sub (DISTCLEANFILES): Updated. Added targets for remaking config.status, config.hin, config.h, stamp-h.in, and stamp-h. * configure: Regenerated. * NEWS: Updated.
* * src/preproc/pic/pic.y (format_number): Use do_sprintf().wlemb2001-08-181-1/+5
| | | | | | | | | | | | | | | (do_sprintf): Use snprintf(). * src/libs/snprintf/*: Added an snprintf module written by Mark Martinec. * src/libs/libgroff/Makefile.sub: Updated. * configure.ac: Add test for snprintf(). * Makefile.in: Updated. * configure: Regenerated. * src/preproc/html/pre-html.cc (make_message): Reactivate code which uses snprintf().
* * src/preproc/tbl/tbl.man: Minor documentation update.wlemb2001-08-131-0/+3
| | | | | | | | * src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday(). * configure.ac: Add declaration test for gettimeofday(). * Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines. * aclocal.m4: Include sys/time.h for gettimeofday declaration test. * configure: Regenerated.
* * aclocal.m4 (GROFF_MKSTEMP): Define HAVE_MKSTEMP.wlemb2001-08-131-2/+5
| | | | | | | | | * configure.ac: Add declaration test for strcasecmp(). * Makefile.in: Updated. * configure: Regenerated. * src/include/lib.h [!HAVE_MKSTEMP]: Add prototype for mkstemp() -- this is necessary because groff's mkstemp.cc is C++. Add declaration conditionally for strcasecmp().
* Intergrated pic2graph, contributed by Eric S. Raymond.wlemb2001-08-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * contrib/pic2graph/{Makefile.sub, pic2graph.sh, pic2graph.man}: New files. * Makefile.in, NEWS: Updated. * src/preproc/tbl/tbl.man: Revised. * src/preproc/tbl/tbl.man: Extended to cover all tbl features. * src/preproc/tbl/main.cc (process_data): Fix recognition of .lf requests. * Makefile.sub (configure): Depend on configure.ac, not configure.in. * INSTALL.gen: Upgrade to autoconf 2.52's INSTALL. * src/utils/afmtodit/afmtodit.man, src/roff/groff/groff.man: Minor fixes.
* * aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'.wlemb2001-07-251-0/+1
| | | | | | | | | * src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET. * Makefile.in: Comment updated. * configure: Regenerated. * src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour name instead of number.