summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* new dist-install maintainer targetIngo Schwarze2019-03-061-0/+4
|
* work towards 1.14.5, mostly updating WWW_INCSIngo Schwarze2019-03-061-6/+9
|
* When the -S option is given to man(1) and the requested manual pageIngo Schwarze2019-03-041-2/+4
| | | | | | | | | | | | name is not found and the requested architecture is unknown, complain about the architecture rather than about the manual page name: $ man -S vax cpu man: Unknown architecture "vax". $ man -S sparc64 foobar man: No entry for foobar in the manual. Friendlier error message suggested by jmc@, who also OK'ed the patch.
* Major cleanup; may imply minor changes in edge cases of error reporting.Ingo Schwarze2018-12-141-0/+2
| | | | | | | | | | | Finally, drop support for the run-time configurable mandocmsg() callback. It was over-engineered from the start, never used for anything in a decade, and repeatedly caused maintenance headaches. Consolidate reporting infrastructure into two files, mandoc.h and mandoc_msg.c, mopping up the bits and pieces that were scattered around main.c, read.c, mandoc_parse.h, libmandoc.h, the prototypes of four parsing-related functions, and both parser structs.
* Cleanup, no functional change:Ingo Schwarze2018-12-131-2/+5
| | | | | | | | | | Split the top level parser interface out of the utility header mandoc.h, into a new header mandoc_parse.h, for use in the main program and in the main parser only. Move enum mandoc_os into roff.h because struct roff_man is the place where it is stored. This allows removal of mandoc.h from seven files in low-level parsers and in formatters.
* Cleanup, no functional change:Ingo Schwarze2018-12-131-1/+0
| | | | | | | Finally merge the pointless file st.in into st.c. Nobody should do operating systems dependent changes to standards: By definition, standards are the same for every operating system. While here, libmdoc.h no longer requires mdoc.h.
* Cleanup, no functional change:Ingo Schwarze2018-12-131-2/+5
| | | | | | No need to expose the eqn(7) syntax tree data structures everywhere. Move them to their own include file, "eqn.h". While here, delete the unused enum eqn_pilet.
* Cleanup, no functional change:Ingo Schwarze2018-12-131-1/+1
| | | | | | | | In libroff.h, nothing was left except the eqn(7) parser interface, which isn't really part of the roff(7) parser, so rename it to eqn_parse.h. While here, move struct eqn_def to eqn.c because that's the only file using it, and let eqn_box_free() and eqn_free() handle NULL.
* Cleanup, no functional change:Ingo Schwarze2018-12-131-0/+2
| | | | | Move tbl(7)-specific parser internals out of libroff.h. Move some tbl(7)-internal processing from roff.c to tbl.c.
* Cleanup, no functional change:Ingo Schwarze2018-12-121-2/+5
| | | | | No need to expose the tbl(7) syntax tree data structures everywhere. Move them to their own include file, "tbl.h", and improve comments.
* some fixes for the "www" and "www-install" maintainer targetsIngo Schwarze2018-08-091-8/+13
|
* more 1.14.4 release preparations:Ingo Schwarze2018-07-311-6/+7
| | | | | | autodetect whether the compiler can use -W and -static, clearer output from ./configure, and adjust some configuration instructions
* Add strndup(3) compat implementation.Ingo Schwarze2018-02-271-0/+3
| | | | Jan Stary reports that MacOS X Snow Leopard and older lacks it.
* release 1.14.3VERSION.1.14.3Ingo Schwarze2017-08-051-1/+1
|
* more renaming from mdocml to mandocIngo Schwarze2017-07-201-11/+11
|
* * clean catman.o which was missingIngo Schwarze2017-07-201-13/+5
| | | | | | * delete WWW_OBJS which i don't use * do not complain about *.out_markdown * bump VERSION to 1.14.2 (not released yet)
* Basic reporting of .Xrs to manual pages that don't existIngo Schwarze2017-07-011-0/+3
| | | | | | | | | | | | in the base system, inspired by mdoclint(1). We are able to do this because (1) the -mdoc parser, the -Tlint validator, and the man(1) manual page lookup code are all in the same program and (2) the mandoc.db(5) database format allows fast lookup. Feedback from, previous versions tested by, and OK jmc@. A few features will be added to this in the tree, step by step.
* Implement automatic line breakingIngo Schwarze2017-06-121-0/+3
| | | | | inside individual table cells that contain text blocks. This cures overlong lines in various Xenocara manuals.
* Basic implementation of the roff(7) .ta (define tab stops) request.Ingo Schwarze2017-05-071-0/+2
| | | | | | This is the first feature made possible by the parser reorganization. Improves the formatting of the SYNOPSIS in many Xenocara GL manuals. Also important for ports, as reported by many, including naddy@.
* Move handling of the roff(7) .ft request from the man(7)Ingo Schwarze2017-05-051-0/+2
| | | | | modules to the new roff(7) modules. As a side effect, mdoc(7) now handles .ft, too. Of course, do not use that.
* Start roff formatter modules for HTML and termininal output,Ingo Schwarze2017-05-041-0/+4
| | | | | | | used by both the mdoc and man formatters, with the ultimate goal of reducing code duplication between the two macro formatters. Made possible by the parser unification. Add the first formatting function (for the .br request).
* Parser unification: use nice ohashes for all three request and macro tables;Ingo Schwarze2017-04-291-4/+0
| | | | no functional change, minus two source files, minus 200 lines of code.
* Delete the manpage(1) utility.Ingo Schwarze2017-04-241-9/+0
| | | | | | | | It was never enabled in any release, nor was a manual ever written. In general, we want to simplify the user interface rather than succumb to featurism. Consequently, integrating manpage(1) into the main binary would seem like a dubious direction.
* Debian needs relative symlinks not only for manual pages,Ingo Schwarze2017-03-041-6/+6
| | | | | | but also for program files. Issue reported by Michael <Stapelberg at debian dot org> and by Markus <Waldeck at gmx dot de>.
* new -mdoc -Tmarkdown output mode; OK millert@ reyk@ tb@;Ingo Schwarze2017-03-031-2/+3
| | | | thanks to reyk@ and to Vsevolod at FreeBSD for suggesting it
* Debian wants relative, not absolute symlinks for man pages;Ingo Schwarze2017-02-221-2/+1
| | | | suggested by Michael Stapelberg
* add some regress targetsIngo Schwarze2017-02-181-0/+28
|
* Provide an uninstall target, to help cleaning up after installingIngo Schwarze2017-02-181-7/+50
| | | | with the wrong DESTDIR. Use with care.
* proper test for O_DIRECTORYIngo Schwarze2017-02-181-0/+1
|
* add $(LN) configuration variable; requested by Michael <Stapelberg@debian.org>Ingo Schwarze2017-02-161-5/+5
|
* Provide a variable BINM_CATMAN.Ingo Schwarze2017-02-161-2/+4
| | | | Suggested by Michael <Stapelberg@debian.org>.
* config glue for recvmsg(2) and CMSG_FIRSTHDR(3);Ingo Schwarze2017-02-081-0/+2
| | | | needed for Solaris 11
* even catman needs libmandoc on systems not having ftsIngo Schwarze2017-02-081-2/+2
|
* more 1.14.1 release preparationsIngo Schwarze2017-02-081-2/+6
|
* new manual pages for catman(8) and mandocd(8)Ingo Schwarze2017-02-061-1/+7
|
* add missing file man.options.1Ingo Schwarze2017-02-051-0/+1
|
* experimental mandocd(8) and catman(8)Ingo Schwarze2017-02-041-8/+23
| | | | for development in the tree, not yet ready for production
* Do not install libmandoc.a by default.Ingo Schwarze2016-11-191-8/+10
| | | | | | The only environment where it is ever needed is NetBSD base. Even NetBSD ports and pkgsrc should better not install it. Triggered by a question from bentley@.
* The concept of endianness seems to be somewhat newfangled, so theIngo Schwarze2016-08-051-1/+3
| | | | | | respective conversion functions are not yet properly standardized. Rumour has it that POSIX is working on it, though. For now, sprinkle some configuration glue.
* POSIX allows PATH_MAX to not be defined, meaning "unlimited".Ingo Schwarze2016-08-021-0/+2
| | | | | | | Found by Aaron M. Ucko <amu at alum dot mit dot edu> on the GNU Hurd, via Bdale Garbee, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829624 Also add EFTYPE at two places where it was forgotten.
* Autodetect if -lrt is needed for nanosleep(3).Ingo Schwarze2016-07-201-0/+1
| | | | | Helpful for Solaris 9 and 10. Reminded by Thomas Klausner.
* Remove the dependency on SQLite without loss of functionality.Ingo Schwarze2016-07-191-37/+42
| | | | | Stop supporting systems that don't have mmap(3). Drop the obsolete names_check() now that we deleted MLINKS.
* Add support for Mac OS X's sandbox_init(3) sandbox functionality, whichKristaps Dzonsons2016-07-121-0/+1
| | | | | | | is marked as DEPRECATED in OS X after 2011 or so, but has not been removed and has no replacement. ok schwarze@
* support LDFLAGS;Ingo Schwarze2016-07-101-5/+5
| | | | suggested by Christian Neukirchen <chneukirchen at gmail dot com>
* Simplify the code and the server setup by deleting the pseudo-manpathIngo Schwarze2016-07-101-4/+0
| | | | | | | | | | "mandoc" that was used for man.cgi(8) documentation and by assuming that the apropos(1) and man.cgi(8) manuals are simply installed in the default manpath. Even though man.cgi(8) is not installed by default when installing OpenBSD, it is easy to copy it into the default manpath used for man.cgi(8). Idea found when considering a question asked by wrant dot com.
* A some missing files to TESTSRCS and DISTFILESIngo Schwarze2016-07-081-0/+5
| | | | and add a trivial "dist" target for convenience.
* some 1.13.4 release preparationsIngo Schwarze2016-07-071-1/+1
|
* Delete useless variables that could sneak into the MakefileIngo Schwarze2016-05-181-6/+6
| | | | | behind the user's back, dangerously bypassing ./configure. Leakage reported by Peter Bray <pdb_ml at yahoo dot com dot au>.
* Various people (among others Maxim Belooussov and Carsten Kunze)Ingo Schwarze2016-05-181-5/+5
| | | | | | | | | | | reported that the build system still assumed that ohash is only needed if sqlite3 is also in use, which is no longer true: The ohash library is now required no matter what. Rework sqlite3 and ohash library autodetection such that both work independently of each other. Provide LDADD for additional linker flags. Add some missing variables to configure.local.example.
* set up man.cgi(3) for inclusion in the web siteIngo Schwarze2016-04-151-0/+2
|