summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.am (AR): Remove hardcoded value.Bruno Haible2023-03-061-2/+2
| | | | | | | | * Makefile.am (AR): Remove hardcoded value. Let Automake use the value from config.status. [Fixes build problem on 64-bit AIX. Problem appears to date back to commit 5fec19d453, 2014-08-15. --GBR]
* [doc]: Uninstall groff Texinfo in HTML better.G. Branden Robinson2023-02-221-0/+6
| | | | | | | * Makefile.am (uninstall_groffdirs): Remove "html.mono" and "html.node" directories corresponding to HTML version of our Texinfo manual. * doc/doc.am (uninstall-html): Uninstall HTML version of our Texinfo manual more reliably.
* Fix Savannah #63589.G. Branden Robinson2023-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct numerous typos and solecisms throughout the source tree. * ChangeLog: * ChangeLog.115: * ChangeLog.116: * ChangeLog.117: * ChangeLog.118: * ChangeLog.119: * ChangeLog.121: * ChangeLog.122: * Makefile.am: * NEWS: * PROBLEMS: * README: * contrib/chem/chem.am: * contrib/chem/chem.pl: * contrib/glilypond/README.txt: * contrib/glilypond/glilypond.pl: * contrib/hdtbl/groff_hdtbl.7.man: * contrib/mm/ChangeLog: * contrib/mm/m.tmac: * contrib/pdfmark/pdfmark.ms: * doc/automake.mom: * doc/groff.texi: * doc/me-revisions: * doc/webpage.ms: * m4/lib-link.m4: * man/groff.7.man: * man/groff_diff.7.man: * man/roff.7.man: * src/devices/grohtml/post-html.cpp: * src/devices/grolbp/lbp.h: * src/devices/gropdf/TODO: * src/devices/gropdf/gropdf.1.man: * src/devices/gropdf/gropdf.pl: * src/devices/xditview/ChangeLog: * src/devices/xditview/xditview.c: * src/libs/libdriver/input.cpp: * src/libs/libgroff/glyphuni.cpp: * src/preproc/eqn/eqn.1.man: * src/preproc/grn/gprint.h: * src/preproc/grn/main.cpp: * src/preproc/html/pre-html.cpp: * src/preproc/preconv/preconv.cpp: * src/preproc/tbl/table.cpp: * src/roff/groff/pipeline.c: * src/roff/groff/tests/substring_works.sh: * src/roff/groff/tests/use_point_size_escape_with_single_digit_arg.sh: * src/roff/troff/div.cpp: * src/roff/troff/input.cpp: * src/roff/troff/troff.1.man: * src/utils/grog/grog.pl: * src/utils/indxbib/indxbib.cpp: * src/utils/tfmtodit/tfmtodit.1.man: * tmac/doc-old.tmac: * tmac/doc.tmac: * tmac/groff_man.7.man.in: * tmac/hyphen.fr: Do it. Fixes <https://savannah.gnu.org/bugs/?63589>. Thanks to Bjarni Ingi Gislason for the report. * ANNOUNCE: Update bug counts. I also killed some pointless white space, refilled affected lines at 72 columns where convenient and non-disruptive to existing text flow, and corrected a misspelling of Ralph Corderoy's surname.
* [man pages]: Don't doc compat wrappers if unused.G. Branden Robinson2022-10-291-0/+5
| | | | | | | | | | | | | | | | | [man pages]: Don't document macro package compatibility wrapper directory if it's not used. * Makefile.am (.man): Use sed to replace '@COMPATIBILITY_WRAPPERS@' in man page text with value of `compatibility_wrappers` shell variable. Document its purpose. * src/preproc/eqn/eqn.1.man (Description): * src/preproc/grn/grn.1.man (Options): * src/roff/groff/groff.1.man (Installation directories): * src/roff/troff/troff.1.man (Environment): Mention `@SYSTEMMACRODIR` only if `@COMPATIBILITY_WRAPPERS` expands to something other than "no" (it could be "yes" or "manual"). Thanks to Alexander Kanavin and Jeremy Puhlman for the report.
* Makefile.am: Clarify comment.G. Branden Robinson2022-10-231-1/+1
| | | | | | Not all non-GNU troffs are AT&T troff as they were in 1990. Heirloom troff uses its own subdirectory ("doctools") of /usr/lib nowadays. And neatroff is something else entirely.
* Drop groff_filenames(5) document.G. Branden Robinson2022-09-021-1/+0
| | | | | | | | | | | It says nothing accurate that is not covered elsewhere. * contrib/groff_filenames: Delete. * doc/doc.am (GROFF_MAN_PAGES): Drop. * src/roff/groff/groff.1.man: Drop cross reference to it. * NEWS: Add item. Fixes <https://savannah.gnu.org/bugs/index.php?61818>.
* [build]: Parameterize X11-related man pages.G. Branden Robinson2022-06-031-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | [build]: Parameterize X11-related man pages, so they don't get spuriously generated (and not cleaned) when building with X11 support disabled. * Makefile.am (.man): Fix logic nit: drop unnecessary removal of target before clobbering it with sed. * src/devices/xditview/xditview.am (GXDITVIEW_MAN1): Add new macro, expanding to nothing if `WITHOUT_X11` and to the target name otherwise. (man1_MANS): Append `GXDITVIEW_MAN1` expansion, not a literal. * src/devices/xditview/xditview.am (XTOTROFF_MAN1): Add new macro, expanding to nothing if `WITHOUT_X11` and to the target name otherwise. (man1_MANS): Append `XTOTROFF_MAN1` expansion, not a literal. * doc/doc.am (GROFF_MAN_PAGES1): Append foregoing expansions instead of literals.
* [build]: Rename variables and macros for clarity.G. Branden Robinson2022-06-031-3/+2
| | | | | | | | | | | | | | | | | | | | | [build]: Rename shell variables and Autoconf/Automake macros of Boolean sense to have names more like logical predicates and avoid doofy "DONT" nomenclature. * m4/groff.m4 (GROFF_MAKE_RM): Rename shell variable `groff_is_rm_defined` to `groff_make_defines_rm` (purely for clarity; it already had a good name). (GROFF_MAKE_RM): Rename this... (GROFF_MAKE_DEFINES_RM): to this, to make parallelism obvious, and enabling... * configure.ac: ...rename of `MAKE_DONT_HAVE_RM` to `MAKE_DEFINES_RM` with sense of test reversed. Also interpolate `GROFF_MAKE_DEFINES_RM` instead of `GROFF_MAKE_RM`. This in turn enables... * Makefile.am: ...revision of conditional from `MAKE_DONT_HAVE_RM` to "!`MAKE_DEFINES_RM`".
* [build]: Rename APPRES* stuff to APPDEF*.G. Branden Robinson2022-06-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: * m4/groff.m4 (GROFF_APPDEFDIR_OPTION, GROFF_APPDEFDIR_DEFAULT, GROFF_APPDEFDIR_CHECK): Rename m4 macros and shell variable from "*appres*" to "*appdef*. Update interpolation sites. * configure.ac: * m4/groff.m4 (GROFF_APPDEFDIR_CHECK): Further rename this... (GROFF_APPDEFDIR_NOTICE): ...to this, for consistency with other post-report output macros. * Makefile.am: * PROBLEMS: * doc/automake.mom: * src/devices/xditview/xditview.am: Update interpolation sites of `appresdir`. * Makefile.am: * src/devices/xditview/gxditview.1.man: * src/roff/groff/groff.1.man: Update interpolation site of `APPRESDIR`. * NEWS: Add item.
* Makefile.am: Escape `@PSPRINT@` for man pages.G. Branden Robinson2022-05-281-1/+1
| | | | | * Makefile.am (.man): Process '@PSPRINT@' substitutions with "makevarescape.sed".
* Makefile.am (EXTRA_DIST): Ship "HACKING" file.G. Branden Robinson2022-05-261-0/+1
|
* groff(1): Cross ref configured print spooler.G. Branden Robinson2022-05-251-0/+1
| | | | | | | | | | Fix insensitivity of groff(1) man page to configured spooler. * Makefile.am (.man): Replace `@PSPRINT@` in man page sources with name of configured print spooler command. * src/roff/groff/groff.1.man (Options) <-l>: Use configured print spooler command instead of literal 'lpr'.
* Makefile.am: Ship "ChangeLog.122" in dist archive.G. Branden Robinson2022-05-211-0/+1
| | | | | * Makefile.am (EXTRA_DIST): Ship "ChangeLog.122" in distribution archive. Overlooked in commit c11995df16, 19 Feburary 2021.
* Makefile.am: Stop manually handling "test-groff".G. Branden Robinson2022-05-031-7/+3
| | | | | | | | Per the GNU Automake manual, "If configure built it, then distclean should delete it." This is taken care of automatically if we don't interfere. * Makefile.am (BUILT_SOURCES, MOSTLYCLEANFILES): Drop "test-groff".
* [configure] Delete the --with-doc option.Ingo Schwarze2022-04-151-29/+0
| | | | | | | | This option was harmful, ill-designed, buggy, and essentially unmaintained and untested. For more details on the rationale, see the NEWS file. OK gbranden@ and no objection when shown on groff at gnu dot org.
* Rename and drop some Make macros.G. Branden Robinson2022-04-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Rename `TFLAG` macro, which means "tmac flag", to `MFLAG`, because it expands to `-M` options to groff, not the `-T` option, which can be bewildering. * doc/doc.am (DOC_GROFF): Update expansion site. * contrib/hdtbl/hdtbl.am: Eliminate `HDTBL_TFLAG` and `HDTBL_PFLAG` Make macros; they were expanded in only one place. (HDTBLGROFF): Track rename of Make macro `TFLAG` to `MFLAG`. * contrib/mom/mom.am: Eliminate `MOM_TFLAG` and `MOM_PFLAG` Make macros; they were expanded in only one place. (MOMPDFMOM): Track rename of Make macro `TFLAG` to `MFLAG`. * contrib/pdfmark/pdfmark.am: Eliminate `PDFMARK_TFLAG` and `PDFMARK_PFLAG` Make macros; they were expanded in only one place. (PDFROFF): Track rename of Make macro `TFLAG` to `MFLAG`.
* Makefile.am: fix an obvious typo in a commentIngo Schwarze2022-03-221-1/+1
|
* Revert "Update .version file more aggressively."G. Branden Robinson2022-03-221-11/+2
| | | | | | | This reverts commit c1bb33e5beec25b4059bca3cc4529b738ec486c7. This wasn't the right way to attack the problem; see <https://lists.gnu.org/archive/html/groff/2022-03/msg00051.html>.
* Makefile.am: Use hyphenation control escapes more.G. Branden Robinson2022-02-211-8/+8
| | | | | | | * Makefile.am (.man): Prefix hyphenation control escape sequences to more configuration-time interpolations to prevent their hyphenation: @DEVICE@, @g@, @INDEX_SUFFIX@, @PAGE@, @TMAC_{AN,M,S}_PREFIX@, @TMAC_MDIR@.
* [build]: Expand @PAGE@ when generating man pages.G. Branden Robinson2022-02-011-0/+1
| | | | | | | * Makefile.am (.man): Substitute the './configure'd paper format for @PAGE@. * src/roff/groff/groff.1.man: Use it.
* Revamp Texinfo manual handling, part one.G. Branden Robinson2021-11-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop `BUILD_INFODOC` symbol. Ship manual in GNU Info, text, and HTML forms in distribution archive. * Makefile.am (MAINTAINERCLEANFILES): Initialize. (MOSTLYCLEANADD): Drop unused variable. * configure.ac: Drop `AM_CONDITIONAL([BUILD_INFODOC]...`. * doc/doc.am (EXTRA_DIST): Rearrange shipment of our Texinfo manual source files to precede all of the generated forms, for clarity. Drop all `BUILD_INFODOC` conditionals. Make `build_infodoc` phony target depend on plain text, GNU Info, and HTML forms of Texinfo manual unconditionally. Also drop unused variables `groffinfodir`, `groffpdfdir`, and `texi2dvi_missing`. (EXTRA_DIST, MAINTAINERCLEANFILES): Add Info form of manual. Drop glob pattern attempting to match the segments that `makeinfo` breaks it into. It isn't necessary for MAINTAINERCLEANFILES. (EXTRA_DIST, MAINTAINERCLEANFILES): Add text form of manual. (EXTRA_DIST, MAINTAINERCLEANFILES): Add HTML form of manual. (dist-hook): Depend on new (phony) target `dist-info-bits`. (dist-info-bits): Look for the info document in the build directory, then the source directory. (It could be in either place depending on whether the build from a Git working tree is being done in or out of a separate build directory.) When found, copy the segments to the assembly area for the distribution archive. (install_infodoc): Refactor. Remove any groff info files from the destination info directory using a shell glob directly instead of a partly redundant ls(1) command substitution. Similarly, use a shell glob to cp(1) the info files (including any matched segments) to the destination info directory before running `install-info`. (In this process I learned that `install-info` doesn't "install" anything; instead, it (de-)registers info files with their top-level catalog.) Tested by building: 1. from Git working tree with separate build directory; 2. from distribution archive w/ separate build directory (`distcheck`); 3. from distribution archive directly; 4. from Git working tree directly.
* Add new background boxes to gropdf.Deri James2021-10-101-0/+1
| | | | | | | * src/devices/gropdf/gropdf.pl: New \X'pdf background' command. * tmac/pdf.tmac: Covenience command .pdfbackground added. * contrib/sboxes/: Files which demonstrate use of background boxes using -ms macros.
* Makefile.am: Don't delete test log on failures.G. Branden Robinson2021-09-241-0/+1
| | | | | | | | | * Makefile.am: Mark `$(TEST_SUITE_LOG)` as `.PRECIOUS`. This prevents the test suite log from being deleted if there are any failures. Fixes <https://savannah.gnu.org/bugs/?61213>. Thanks to Bjarni Ingi Gislason for the report, thus saving me from a certain TIA if I had come across it myself unexpectedly.
* Makefile.am: Add `.DELETE_ON_ERROR` target.G. Branden Robinson2021-09-161-0/+2
| | | | | | | | * Makefile.am: Add `.DELETE_ON_ERROR` special target; both GNU and FreeBSD make(1)s support it so maybe it will be portable enough. This avoids, among other problems, a target appearing falsely up-to-date (often as an empty file) when the troff process generating it experiences an assertion failure.
* [libgroff]: Drop support for `TRADITIONAL_CPP`.G. Branden Robinson2021-08-281-2/+0
| | | | | | | | | | This means a C preprocessor that does not support the ANSI C89/ISO C90 token concatenation operator "##". * src/include/itable.h: * src/include/ptable.h: Do it. * Makefile.am: Undocument preprocessor symbol.
* Drop support for `ARRAY_DELETE_NEEDS_SIZE`.G. Branden Robinson2021-08-281-2/+0
| | | | | | | | | | * src/include/lib.h [ARRAY_DELETE_NEEDS_SIZE]: Drop preprocessor conditional branch. This abandons support for certain pre-ISO C++98 compilers. (According to a now-removed comment, unsized array deletion was documented in "ARM", meaning _The C++ Annotated Reference Manual_, published in 1989.) * Makefile.am: Undocument preprocessor symbol.
* Update .version file more aggressively.G. Branden Robinson2021-08-231-2/+11
| | | | | | | | | | | | | | | | | | | | * Makefile.am: Regenerate a temporary version string file on every build, but update the real version file's mtime only if its contents change. (.version.tree): New target. Mark it phony, populating it with `$(VERSION)` with every `make` if the `.tarball-version` file {created by `dist-hook`} doesn't exist. ($(top_srcdir)/.version): Depend on foregoing target. If the tarball version file and the target do not exist, copy `.tree` file into place. Compare this file with `.tree` file; if they differ, move the `.tree` file to this one. (MOSTLYCLEANFILES): Add `.version.tree`. Fixes <https://savannah.gnu.org/bugs/?61052>. Thanks to Bjarni Ingi Gislason for the report.
* [grog]: Relocate in source tree.G. Branden Robinson2021-06-261-1/+1
| | | | | | | | | | | | | * src/roff/grog: Move from here... * src/utils/grog: ...to here. * MANIFEST: * Makefile.am: * src/utils/grog/grog.am: Reflect move. Fixes <https://savannah.gnu.org/bugs/?60788>. Also improve summary of grog's function in MANIFEST.
* grog: Clean up after aggressive refactor.G. Branden Robinson2021-06-101-4/+0
| | | | | | | | | | * Makefile.am: Delete references to $(grog_dir). * configure.ac: Delete call of `GROFF_GROGDIR_DEFAULT` macro. * m4/groff.m4: Delete definition of same. * src/roff/grog/grog.am (grogdir): Drop variable. (grog): Remove sed expression replacing `@grog_dir@` with `$(grog_dir)` in grog.pl.
* Makefile.am: Fix typos.Dave Kemper2021-03-151-9/+9
| | | | | | Thanks to Bjarni Ingi Gislason for the report. Fixes <https://savannah.gnu.org/bugs/?59457>.
* [rfc1345]: Integrate into build system.G. Branden Robinson2021-02-031-0/+1
| | | | | | | Integrate rfc1345.tmac into build system. * contrib/rfc1345/rfc1345.am: Do it. * Makefile.am: Include contrib/rfc1345/rfc1345.am.
* Update copyright1.23.0.rc1Bertrand Garrigues2020-11-111-1/+1
| | | | | | | | * update-copyright.sh: use gnulib's 'update-copyright' script. Pass this script in directories 'arch', 'contrib', 'font', 'man', 'tmac', 'src' and on a list of extra files. * FOR-RELEASE: mention this point.
* Revert "Update copyright"Bertrand Garrigues2020-10-251-1/+1
| | | | | | This reverts commit a2e955e07354c83939fabffebcf720d3333d1f6b. Some files (COPYING, FDL, bootstrap) should not have been updated
* Update copyrightBertrand Garrigues2020-10-251-1/+1
| | | | | | | | Use gnulib's update-copyright script. * src/roff/groff/groff.cpp: update the printf displayed when 'groff -v' is invoked. * FOR-RELEASE: mention this point.
* Synchronize Emacs and Vim editor settings.G. Branden Robinson2020-04-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add some settings (mainly fill columns and character encoding hints) to try to prevent chaos. Gory details follow. * ChangeLog.115: * ChangeLog.116: * ChangeLog.117: * ChangeLog.118: * ChangeLog.119: * ChangeLog.120: * ChangeLog.121: * Makefile.am: * arch/mingw/mingw.am: * arch/misc/misc.am: * contrib/chem/chem.am: * contrib/chem/chem.pl: * contrib/eqn2graph/eqn2graph.am: * contrib/gdiffmk/ChangeLog: * contrib/gdiffmk/gdiffmk.am: * contrib/glilypond/ChangeLog: * contrib/glilypond/ChangeLog.0x: * contrib/glilypond/args.pl: * contrib/glilypond/glilypond.am: * contrib/glilypond/glilypond.pl: * contrib/glilypond/oop_fh.pl: * contrib/glilypond/subs.pl: * contrib/gperl/gperl.am: * contrib/gpinyin/ChangeLog: * contrib/gpinyin/gpinyin.am: * contrib/gpinyin/gpinyin.pl: * contrib/gpinyin/subs.pl: * contrib/grap2graph/grap2graph.am: * contrib/groff_filenames/ChangeLog: * contrib/groff_filenames/groff_filenames.am: * contrib/hdtbl/ChangeLog: * contrib/hdtbl/hdtbl.am: * contrib/mm/mm.am: * contrib/mom/ChangeLog: * contrib/mom/mom.am: * contrib/pdfmark/ChangeLog: * contrib/pdfmark/pdfmark.am: * contrib/pic2graph/pic2graph.am: * font/devX100-12/devX100-12.am: * font/devX100/devX100.am: * font/devX75-12/devX75-12.am: * font/devX75/devX75.am: * font/devascii/devascii.am: * font/devcp1047/devcp1047.am * font/devdvi/devdvi.am: * font/devlbp/devlbp.am: * font/devlj4/devlj4.am: * font/devpdf/devpdf.am: * font/devps/devps.am: * font/devutf8/devutf8.am: * font/scripts/scripts.am: * man/man.am: * src/include/include.am: * src/libs/libbib/libbib.am: * src/libs/libdriver/libdriver.am: * src/libs/libgroff/libgroff.am: * src/libs/libxutil/libxutil.am: * src/roff/groff/groff.am: * src/roff/grog/grog.am: * src/roff/nroff/nroff.am: * src/roff/troff/troff.am: * src/utils/addftinfo/addftinfo.am: * src/utils/afmtodit/afmtodit.am: * src/utils/hpftodit/hpftodit.am: * tmac/tmac.am: Tell Vim to auto-indent the file. * BUG-REPORT: * ChangeLog.115: * ChangeLog.116: * ChangeLog.117: * ChangeLog.118: * ChangeLog.119: * ChangeLog.120: * ChangeLog.121: * INSTALL.extra: * Makefile.am: * arch/mingw/mingw.am: * arch/misc/misc.am: * contrib/chem/README.txt: * contrib/chem/chem.pl: * contrib/chem/examples/122/ch2a_ethyl.chem: * contrib/chem/examples/122/ch4a_stick.chem: * contrib/chem/examples/122/ch4j_ring4.chem: * contrib/chem/examples/README.txt: * contrib/chem/examples/atp.chem: * contrib/chem/examples/cholesterin.chem: * contrib/chem/examples/ethamivan.chem: * contrib/chem/examples/lsd.chem: * contrib/chem/examples/reserpine.chem: * contrib/eqn2graph/eqn2graph.am: * contrib/gdiffmk/ChangeLog: * contrib/gdiffmk/README: * contrib/gdiffmk/gdiffmk.am: * contrib/glilypond/ChangeLog: * contrib/glilypond/ChangeLog.0x: * contrib/glilypond/README.txt: * contrib/glilypond/args.pl: * contrib/glilypond/glilypond.pl: * contrib/glilypond/oop_fh.pl: * contrib/glilypond/subs.pl: * contrib/gpinyin/ChangeLog: * contrib/gpinyin/gpinyin.pl: * contrib/gpinyin/subs.pl: * contrib/grap2graph/grap2graph.am: * contrib/groff_filenames/ChangeLog: * contrib/hdtbl/ChangeLog: * contrib/mm/mm.am: * contrib/mom/ChangeLog: * contrib/mom/mom.am: * contrib/pdfmark/ChangeLog: * contrib/pic2graph/pic2graph.am: Set fill column to 72. * ChangeLog.116: * ChangeLog.117: * ChangeLog.118: * ChangeLog.119: * ChangeLog.120: * ChangeLog.121: * contrib/gdiffmk/ChangeLog: * contrib/glilypond/ChangeLog: * contrib/glilypond/ChangeLog.0x: * contrib/groff_filenames/ChangeLog: * contrib/hdtbl/ChangeLog: * contrib/mom/ChangeLog: * contrib/pdfmark/ChangeLog: Sort Emacs local variables lexicographically. * ChangeLog.115: * ChangeLog.116: * ChangeLog.117: * ChangeLog.118: * ChangeLog.119: * ChangeLog.120: * ChangeLog.121: Tell Emacs the file is a change-log. * Makefile.am: * arch/mingw/mingw.am: * arch/misc/misc.am: * contrib/eqn2graph/eqn2graph.am: Tell Vim the file is an Automake file (it detects at least some in-tree *.am files as ordinary Makefiles). * ChangeLog.115: * contrib/gdiffmk/ChangeLog: * contrib/pdfmark/ChangeLog: Remove Emacs coding declaration. No non-ASCII characters are present. * BUG-REPORT: Prevent Vim filetype detection (Vim thinks it's a generic configuration file due to the hash-commented legal notice). * contrib/glilypond/ChangeLog.0x: Tell Emacs the file is a "change-log" (not "change-log-mode"). * contrib/glilypond/README.txt: Comment the editor settings as is done in top-level plain text documentation. * contrib/gpinyin/ChangeLog: Set Emacs "version-control" variable to "never", in parallel with ChangeLog files elsewhere. (I'm not sure this is necessary with Git, however; maybe we should be removing them everywhere. If so, that's easy to sed.)
* Eliminate "Last updated:" comments.G. Branden Robinson2020-04-291-2/+0
| | | | | | | We have a version control system for that. I left the one in tmac/hyphen.sv intact because the file has external provenance.
* Delete groffer.G. Branden Robinson2020-04-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per discussion on the groff development mailing list, there is no desire to retain the maintenance of this portion of the groff distribution. See <https://lists.gnu.org/archive/html/groff/2020-04/msg00051.html> et seq. * contrib/groffer: Recursively delete. * Makefile.am: * arch/mingw/mingw.am: Stop building groffer. * m4/groff.m4 (GROFF_GROFFERDIR_OPTION): (GROFF_GROFFERDIR_OPTION): Delete; remove "--with-grofferdir" configuration option. * MANIFEST: * NEWS: * PROJECTS: * TODO: * contrib/chem/chem.1.man: * contrib/chem/examples/122/README.txt: * contrib/chem/examples/README.txt: * contrib/glilypond/glilypond.1.man: * contrib/gperl/gperl.1.man: * contrib/gpinyin/gpinyin.1.man: * contrib/groff_filenames/groff_filenames.5.man: * man/groff_font.5.man: * man/roff.7.man: * src/roff/groff/groff.1.man: * src/roff/grog/grog.1.man: * src/utils/addftinfo/addftinfo.1.man: * tmac/groff_trace.7.man: Delete references to groffer. Historical references to groffer deliberately remain in ChangeLog, ChangeLog.{118,120}, NEWS, contrib/{chem,glilypond}/ChangeLog, and doc/webpage.ms. This is a case of deletion, not damnatio memoriae. Some minor cosmetic changes came along for the ride: * contrib/groff_filenames/groff_filenames.5.man: Use literal section numbers for non-groff man page cross-references; the expansions @MAN[157]EXT@ are determined by groff configuration parameters and not appropriate for other pages. * contrib/groff_filenames/groff_filenames.5.man: Refer to Heirloom Doctools project as such, not "Heirloom roff", and stop ascribing its ownership to Gunnar Ritter; as I understand it, he stopped working on it years ago, and it is now maintained by others. * PROJECTS: * TODO: Correct asymmetric `quotes' in copyright comments. * contrib/chem/chem.1.man: * contrib/gperl/gperl.1.man: * contrib/gpinyin/gpinyin.1.man Stop preventing hyphenation on words that won't get hyphenated; no visible effect on output. * contrib/gperl/gperl.1.man: * contrib/groff_filenames/groff_filenames.5.man: * src/roff/grog/grog.1.man: Fix source style nit in sectioning; no visible effect on output.
* Delete editor-settings comment banners.G. Branden Robinson2020-04-191-2/+0
| | | | | | | | | Most users and developers have lexical coloring/syntax highlighting available these days (cf. 30 years ago). Leaving them in plain-text files (like READMEs) because these are generally not machine-parsed (except for changelogs...) and the indicator may conceivably be useful to novices who stumble across them.
* Mark expected-to-fail test as XFAIL.G. Branden Robinson2019-09-101-0/+1
| | | | | | | | | | | | Automake supports XFAIL and XPASS, so actually use the infrastructure as intended. * Makefile.am: Declare XFAIL_TESTS variable. * src/roff/groff/groff.am: Declare string_case_xform_unicode_escape.sh as an XFAIL test. * src/roff/groff/tests/string_case_xform_unicode_escape.sh: Set the expected output to what it would be if string case transforms worked on groff Unicode escapes.
* Retire '@G@' build system macro.G. Branden Robinson2019-09-101-1/+0
| | | | | | | | | | | It existed only for forcibly-capitalized man page titles; it was the uppercase-transformed counterpart of @g@. * Makefile.am: * contrib/mm/Makefile.sim: Delete sed transformation of @G@. * src/preproc/tbl/tbl.1.man: Replace '@G@EQN' in section heading with '@g@eqn'.
* Remove the unused variables PREFIXMAN5 and PREFIXMAN7.Ingo Schwarze2018-12-111-17/+1
| | | | | | | | | | | | | They caused portability trouble because they resulted in commands of the form: "for f in ; do $something ; done" Even though such empty loops are valid POSIX syntax, they cause the default sh(1) on Solaris 9 to die. Thanks to wl@ for insisting that the Solaris 9 failure ought to be fixed; without that, the fact that these variables are unused would not have been found. OK bgarrigues@ gbranden@
* Fix tarball generation: script 'makevarescape.sed' was missing.Bertrand Garrigues2018-11-241-1/+3
| | | | * Makefile.am (EXTRA_DIST): add it.
* man pages: Escape interpolated Make variables.G. Branden Robinson2018-11-101-18/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * makevarescape.sed: Transform - to \-, ~ to \(ti, and so forth, (with an extra layer of backslashes--see below) so that Makefile variables containing ASCII characters that do not represent themselves literally in *roff (see groff_char(7)) are correctly interpolated into man page text. * Makefile.am (.man): Transform Makefile variables with the above script when interpolating them into man page text. Note that while the script, combined with this target, will transform ` to \(ga, including grave accents in Makefile variables is likely to fail when the shell lexes the argument to echo within the old-style command substitution ``. Testing shows that grave accents should work[1] if POSIX-style command substitution $() is done instead. However, $() is less portable. (Triple-escaping grave accents \\\` inside the interpolated Makefile variable will work, but is not attempted at present.) Note also that the amount of backslash-escaping in the sed script is excessive (and incorrect) for normal purposes, but required here because a command substitution is being nested inside yet another invocation of sed. [1] For this target; no assurances about the good behavior of unusual characters in Makefile variables in other aspects of the groff build are offered. Fixes <https://savannah.gnu.org/bugs/index.php?55004>. Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
* Update 'gnulib' submodule.Bertrand Garrigues2018-10-101-5/+0
| | | | | | | | * gnulib: now points on dce8759f0f0236a860a3e68b63c5e99cc6f168f9 from 'gnulib' repository. This fixes build error with glibc 2.28 (see https://bugzilla.redhat.com/show_bug.cgi?id=1595702). * Makefile.am: gnulib's 'localcharset.c' no longer includes 'configmake.h'.
* Makefile.am: correctly calculate MAJOR_VERSION etc.Ingo Schwarze2018-08-111-3/+3
| | | | | | | In a BRE, "\+" does not mean "one or more repetitions". Fix the calculation by using cut(1) instead of sed(1), which is also in POSIX and much simpler for this task. OK wl@
* Update copyright (use gnulib's update-copyright script)Bertrand Garrigues2018-07-031-1/+1
|
* Document SHORT_VERSION where it is defined.G. Branden Robinson2018-04-231-3/+1
| | | | | | | | | | | Leave a breadcrumb in Makefile.am since SHORT_VERSION is logically related but handled by a different layer of GNU Autotools. Further clarify what SHORT_VERSION actually expands to: not just the truncated revision number, but the whole version string _up to_ the truncation point. Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
* Makefile.am: Correct a comment.G. Branden Robinson2018-04-231-3/+3
| | | | | | | | | Sync comment documenting SHORT_VERSION with reality; evidently at one point this was called SHORT_REVISION and did not survive contact with the enemy. Also indicate where it's defined, since it's a groff thing and not a feature of gnulib's git-version-gen. Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
* Define a short version for data installation dir name.1.22.4.rc2Bertrand Garrigues2018-03-281-3/+8
| | | | | | | | | | | | | This is the full version stripped of any characters after the third digit. Used for installation of font, macro and various data (by default in /usr/local/share/groff). The various programs and scripts still use the full version from gnulib script 'git-version-gen' . * configure.ac (SHORT_VERSION): short version definition. * Makefile.am: use 'SHORT_VERSION' for 'docdir' and 'datasubdir' definitions.
* Switch to Gnulib implementation of snprintfColin Watson2018-03-111-8/+1
| | | | | | | | | | | | | | | | | | | This is more actively maintained, straightforward to integrate now that we have Gnulib integration, and simplifies groff's overall licensing. * bootstrap.conf (gnulib_modules): Add `snprintf' and `vsnprintf'. * configure.ac: Remove local checks for `snprintf' and `vsnprintf'. * Makefile.am: Remove various comments related to local checks for `snprintf' and `vsnprintf'. * src/include/lib.h: Remove declarations of `snprintf' and `vsnprintf'. * src/libs/libgroff/libgroff.am (EXTRA_DIST): Remove `src/libs/snprintf/snprintf.c'. * src/libs/snprintf/snprintf.c: Remove. * LICENSES: Remove section about `src/libs/snprintf/snprintf.c'. * MANIFEST: Remove entry for `src/libs/libxutil'.