summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* move compat_reallocarray.o into SOELIM_OBJS, no functional changeIngo Schwarze2015-11-071-2/+3
|
* soelim(1) use getline(3) and err(3), and err(3) uses getprogname(3);Ingo Schwarze2015-11-071-1/+5
| | | | found on Solaris 10 at OpenCSW
* provide a simple stand-alone implementation of getline(3)Ingo Schwarze2015-11-071-0/+3
| | | | for systems lacking it
* Modernization, no functional change intended:Ingo Schwarze2015-11-071-3/+0
| | | | | | Use the POSIX function getline(3) rather than the slightly dangerous BSD function fgetln(3). Remove the related compatibility code.
* garbage collect unused EXAMPLEDIR, forgotten in the CSS cleanup;Ingo Schwarze2015-11-071-1/+0
| | | | noticed by Peter Bray <pdb_ml at yahoo dot com dot au>
* Install the soelim(1) binary and manual to the right places.Ingo Schwarze2015-11-071-2/+4
| | | | Bug reported by Peter Bray <pdb_ml at yahoo dot com dot au>.
* merge pledge(2) support from OpenBSDIngo Schwarze2015-11-061-0/+1
|
* Use getprogname(3) rather than __progname.Ingo Schwarze2015-11-061-0/+2
| | | | | | | Suggested by Joerg@ Sonnenberger (NetBSD). Last year, deraadt@ confirmed on tech@ that this "has the potential to be more portable", and micro-optimizing for speed is not relevant here. Also gets rid of one global variable.
* Unify the three stylesheets into a single CSS file.Ingo Schwarze2015-11-051-8/+4
| | | | Many thanks to bentley@ for doing this work.
* demandoc(1) needs to link against -lutil, tooIngo Schwarze2015-11-051-1/+1
|
* In order to become able to generate syntax tree nodes on the roff(7)Ingo Schwarze2015-10-201-0/+2
| | | | | | | | level, validation must be separated from parsing and rewinding. This first big step moves calling of the mdoc(7) post_*() functions out of the parser loop into their own mdoc_validate() pass, while using a new mdoc_state() module to make syntax tree state handling available to both the parser loop and the validation pass.
* Major character table cleanup:Ingo Schwarze2015-10-131-1/+0
| | | | | | | | | | | | | * Use ohash(3) rather than a hand-rolled hash table. * Make the character table static in the chars.c module: There is no need to pass a pointer around, we most certainly never want to use two different character tables concurrently. * No need to keep the characters in a separate file chars.in; that merely encourages downstream porters to mess with them. * Sort the characters to agree with the mandoc_chars(7) manual page. * Specify Unicode codepoints in hex, not decimal (that's the detail that originally triggered this patch). No functional change, minus 100 LOC, and i don't see a performance change.
* Reduce the amount of code by moving the three copies of the ohashIngo Schwarze2015-10-131-0/+3
| | | | | callback functions into one common place, preparing for the use of ohash for some additional purposes. No functional change.
* Finally use __progname, err(3) and warn(3).Ingo Schwarze2015-10-111-1/+5
| | | | | | | | | | That's more readable and less error-prone than fumbling around with argv[0], fprintf(3), strerror(3), perror(3), and exit(3). It's a bad idea to boycott good interfaces merely because standards committees ignore them. Instead, let's provide compatibility modules for archaic systems (like commercial Solaris) that still don't have them. The compat module has an UCB Copyright (c) 1993...
* Do not fork and exec gunzip(1), just link with libz instead.Ingo Schwarze2015-07-191-1/+1
| | | | | | | As discussed with deraadt@, that's cleaner and will help tame(2). Something like this was also suggested earlier by bapt at FreeBSD. Minus 50 lines of code, deleting one interface function (mparse_wait), no functional change intended.
* Initial, still somewhat experimental implementation to leverageIngo Schwarze2015-07-171-0/+3
| | | | | | | | | | | | | | | less(1) -T and :t ctags(1)-like functionality to jump to the definitions of various terms inside manual pages. To be polished in the tree, so bear with me and report issues. Technically, if less(1) is used as a pager, information is collected by the mdoc(7) terminal formatter, first stored using the ohash library, then ultimately written to a temporary file which is passed to less via -T. No change intended for other output formatters or when running without a pager. Based on an idea from Kristaps using feedback from many, in particular phessler@ nicm@ millert@ halex@ doug@ kspillner@ deraadt@.
* Fix the "depend" target and regenerate Makefile.depend:Ingo Schwarze2015-07-141-3/+3
| | | | | | | * do not process the test-*.c files, they are not built via make * add the missing compat_stringlist.c and soelim.c * read.c now uses roff_int.h * roff.c no longer uses libmdoc.h
* Link compat_reallocarray.o into soelim; needed onIngo Schwarze2015-05-211-2/+2
| | | | platforms having neither stringlist nor compat_reallocarray.
* * remove FreeBSDismsIngo Schwarze2015-05-201-3/+15
| | | | | | | * purge and sort headers * add build and compat glue * and LICENSE information for soelim(1)
* First step towards parser unification:Ingo Schwarze2015-04-021-2/+4
| | | | | | Replace enum mdoc_type and enum man_type by a unified enum roff_type. Almost mechanical, no functional change. Written on the ICE train from Frankfurt to Bruxelles on the way to p2k15.
* Parse the new man.conf(5) "output" directive.Ingo Schwarze2015-03-271-2/+2
| | | | The next step will be to actually use the parsed data.
* Add man.conf(5). After adding some additional functionality,Ingo Schwarze2015-03-271-0/+4
| | | | | one of the next steps will be to use it in addition to manpath(1) rather than as an alternative to it.
* Compat glue needed for Solaris 9 and 10.Ingo Schwarze2015-03-191-1/+10
| | | | | | | Thanks to Sevan Janiyan <venture37 at geeklan dot co dot uk> for reporting the Solaris 10 issues, to Jan Holzhueter <jh at opencsw dot org> for some additional insight, and to OpenCSW in general for providing me with a Solaris 9/10/11 testing environment.
* release 1.13.3VERSION.1.13.3Ingo Schwarze2015-03-131-2/+2
|
* Delete the -V option. It serves no purpose but keeps confusing people.Ingo Schwarze2015-02-161-0/+2
| | | | | | | | Keeping track of the versions of installed software is the job of the package manager, not of the individual binaries. If individual binaries include version numbers, that tends to goad people into writing broken configuration tests that inspect version numbers instead of properly testing for features.