summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Add INSTALL, and remove WWW gunk from the Makefile, we are notIngo Schwarze2014-08-141-49/+5
| | | | going to rebuild the website from this version.
* typo in comment; Guy Harris <guy at alum dot mit dot edu>Ingo Schwarze2014-08-121-1/+1
|
* Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.Ingo Schwarze2014-08-111-2/+2
| | | | Include <sys/types.h> where needed, it does not belong in config.h.
* merge portability fix from HEADIngo Schwarze2014-08-051-3/+4
|
* Split mandoc_escape(3), mandoc_malloc(3), and mchars_alloc(3)Ingo Schwarze2014-08-051-1/+8
| | | | out of mandoc(3), adding lots of new information.
* Switch to autogenerated dependency rules; they are less error-prone.Ingo Schwarze2014-08-051-84/+71
| | | | Provide a maintainer target to regenerate them.
* Properly partition the build system and install some missing stuff:Ingo Schwarze2014-08-051-12/+33
| | | | | | | | | | | * Introduce targets base-build and db-build. * Introduce targets base-install and db-install. * Introduce a BUILD_TARGETS variable to contain db-build. * Introduce an INSTALL_TARGETS variable and fill it using BUILD_TARGETS. * Install the apropos(1) and mandocdb(8) binaries. * Install whatis(1) as a hard link to apropos(1). * Install the apropos(1), whatis(1), and mandocdb(8) manuals. * Install mandoc_aux.h.
* Various minor corrections:Ingo Schwarze2014-08-051-3/+7
| | | | | | | * Do not install programs and libs root-writeable. * Add missing test-strcasestr.c and test-strsep.c to TESTSRCS. * Add missing mandoc_html.3 to SRCS. * Add missing mandoc_html.3.html to WWW_MANS.
* sort user settings; no functional changeIngo Schwarze2014-08-051-11/+19
|
* Remove the old man.cgi.Ingo Schwarze2014-08-051-46/+3
| | | | Running that would not be a responsible thing to do, nowadays.
* remove strnlen(3) compat, we no longer use itIngo Schwarze2014-08-041-3/+0
|
* Merge from HEAD:Ingo Schwarze2014-04-241-25/+53
| | | | | | | | | * Use sha256 rather than md5. * Update .h dependencies for some objects. * Provide `www' target to build everything needed for the web site. * Move .SUFFIXES and .PHONY technicalities to the bottom. * State Copyright and license, just for clarity. * Bump VERSION in preparation for release.
* Audit malloc(3)/calloc(3)/realloc(3) in VERSION_1_12.Ingo Schwarze2014-04-231-0/+3
|
* include the LICENSE into the distribution tarballIngo Schwarze2014-04-221-1/+2
|
* introduce mandoc_aux to 1.12Ingo Schwarze2014-03-231-4/+9
|
* - remove index.html, is now part of the website repoIngo Schwarze2014-03-031-36/+22
| | | | - and some general cleanup (installcgi is .PHONY)
* Put ./configure into the distribution tarball.Ingo Schwarze2014-01-041-1/+3
|
* Merge strnlen(3) configuration bits.Ingo Schwarze2014-01-041-0/+3
|
* Merge cleanup of feature tests to VERSION_1_12, resolving conflicts.Ingo Schwarze2014-01-041-51/+12
|
* Provide strcasestr(3) and strsep(3) for Solaris 10 compat;Ingo Schwarze2013-12-311-1/+13
| | | | reported missing by Matthias Scheler <tron at NetBSD> via wiz@.
* release 1.12.3Ingo Schwarze2013-12-311-2/+2
|
* Put VERSION into config.h.Ingo Schwarze2013-10-061-1/+2
| | | | | | This makes life easier for downstream maintainers having more than one Makefile, for example DragonFly and FreeBSD. Suggested by Franco Fichtner <franco at lastsummer dot de>.
* Cleanup suggested by gcc-4.8.1, following hints by Christos Zoulas:Ingo Schwarze2013-10-051-7/+7
| | | | | | | | - avoid bad qualifier casting in roff.c, roff_parsetext() by changing the mandoc_escape arguments to "const char const **" - avoid bad qualifier casting in mandocdb.c, index_merge() - do not complain about unused variables in test-*.c - garbage collect a few unused variables elsewhere
* Release version 1.12.2. This is no longer beta.Ingo Schwarze2013-10-051-2/+2
| | | | Sneak in a downstream link to Alpine Linux.
* include the NEWS file into the tarballIngo Schwarze2013-10-011-2/+3
|
* Final tweaks for the release candidate:Ingo Schwarze2013-09-291-5/+11
| | | | | | * Test for betoh64(), otherwise use be64toh(). * In the Makefile, improve the explanation of STATIC. * Update VERSION and VDATE.
* Update VERSION, VDATE and CFLAGS for the upcoming 1.12.2 release.Ingo Schwarze2013-09-181-4/+7
| | | | | Add tbl.3 and gmdiff to the tarball. Add tbl.3.html to the website.
* Merge rev. 1.400:Ingo Schwarze2013-09-181-77/+1
| | | | Stop producing xhtml/pdf/etc for webpage.
* Partial merge of rev. 1.396:Ingo Schwarze2013-09-181-25/+132
| | | | Remove lint support and Windows binaries.
* Stop producing xhtml/pdf/etc for webpage (logs indicate that nobody actuallyKristaps Dzonsons2012-06-091-61/+1
| | | | looks at them).
* Merge whatis.1 into apropos.1 (and remove), add whatis bits to aproposKristaps Dzonsons2012-06-091-5/+4
| | | | (via mansearch), and merge mandocdb.h into mansearch.h (and remove).
* Remove catman(8): it's superfluous.Kristaps Dzonsons2012-06-091-1/+1
| | | | | | | | Users of man.cgi should be able to just copy in their directories and have the CGI fine everything on its own or just suck it up or, in the cases of multiple manroots, have a simple config file. Besides, now that mandocdb(8) is using relative paths for everything, needing a fancy "cp -R" is silly.
* Add a compatibility interface for ohash.Kristaps Dzonsons2012-06-091-1/+7
| | | | | | | | | | This include's espie@'s wholesale src/lib/libc/ohash directory from OpenBSD into compat_ohash.c (with a single copyright/license notice at the top) and src/include/ohash.h as compat_ohash.h. The ohash_int.h part of compat_ohash.c has been changed only in that ohash.h points to compat_ohash.h. Added HAVE_OHASH test (test-ohash.c) to Makefile. In mandocdb.c and mansearch.c, check HAVE_OHASH test for inclusion.
* Remove lint from Makefile.Kristaps Dzonsons2012-06-081-239/+41
| | | | | | | Disable some parts of the build (man.cgi, etc.) while sqlite3 is being merged in nice and slow. Remove the bit swapping stuff in config.h.post. Remove apropos_db (replaced by mansearch).
* Get ready for a version.Kristaps Dzonsons2012-03-241-3/+2
|
* Remove some Mac OS crap in the Makefile.Kristaps Dzonsons2012-03-231-6/+10
|
* Don't run superfluous mkdir when installing.Kristaps Dzonsons2012-03-231-1/+0
|
* Continue changing mandoc.{index,db} into whatis.{index,db}. Use mandocdb.hKristaps Dzonsons2011-12-251-1/+1
| | | | to do so.
* Some presentation polish in man.cgi:Kristaps Dzonsons2011-12-151-2/+2
| | | | | | | | | | | | - include search bar above result page (I relent: it's annoying to follow three links then press back three times to get a search page); - make man.cgi.css into man-cgi.css so Apache isn't confused by two handlers (css, cgi); - finally consolidate example.style.css to be under the div.mandoc css selector; - put catman pages under div.catman; - put search bar under div#mancgi; - reflect this properly in the bundled CSS files.
* Compatibility support fgetln() on Linux. This uses the BSD-licensedKristaps Dzonsons2011-12-131-3/+24
| | | | | | | | | | implementation from NetBSD tnftpd, Christos Zoulas (copyright message retained in the compat_fgetln.c file). Patch verified by schwarze@. He notes that you'll need -pthread for -static binaries (due to libdb), so I've noted that -static should really only be used for BSD UNIX. While here, add some forgotten goop to the Makefile, building and cleaning extra manpages.
* Adding some missing "install" bits to Makefile.Kristaps Dzonsons2011-12-101-8/+20
|
* Have a whatis/apropos mode, with the default (hitting enter within theKristaps Dzonsons2011-12-071-0/+1
| | | | | | | expression text) be whatis. This is a much nicer default than apropos, which can be scary. While here, fix the cat.css location (erroneously put in the response page instead of the catman page) and add bits for a default style-sheet.
* Make installing CGI a bit easier.Kristaps Dzonsons2011-12-071-0/+9
|
* By default, man.cgi should compile with -static (this was unset by mistake).Kristaps Dzonsons2011-12-071-1/+1
| | | | Also, set a custom CSS for man.cgi catman files.
* In man(7), when no explicit volume name is given, use the defaultIngo Schwarze2011-12-021-2/+2
| | | | | | | | | | | | volume name for the respective manual section, just like in mdoc(7). This gives us nicer page headers for cvs(1), lynx(1), tic(1), mkhybrid(8), and many curses(3) manuals. ok kristaps@ To not break compatibility, i wrote a corresponding patch for GNU troff which Werner Lemberg accepted upstream at rev. 1.65 of: http://cvs.savannah.gnu.org/viewvc/groff/tmac/an-old.tmac?root=groff
* Backout -DUSE_MANPATH that sneaked in;Ingo Schwarze2011-11-281-2/+2
| | | | ok kristaps@.
* Removing INSECURE mode. This is a work in progress! Logic forKristaps Dzonsons2011-11-271-18/+39
| | | | formatting manpages is now linked into man.cgi.
* Make a small manual for how to run man.cgi.Kristaps Dzonsons2011-11-241-0/+1
| | | | | | This exists almost entirely to document that /tmp must exist in a jailed Apache directory for dbopen() not to fail. This was a massive headache to track down.
* Add manup(8). This runs through mandocdb(8) databases (in the same way thatKristaps Dzonsons2011-11-241-2/+17
| | | | | | | apropos(1) does so) and updates an HTML fragment cache for use by man.cgi. Right now man.cgi is "online" in that it requires mandoc(1) in its path, but this doesn't work for, say, OpenBSD's apache chroot(1). This allows a cache to be maintained.
* Adjust Makefile for manpath.{c,h} linking.Kristaps Dzonsons2011-11-231-11/+16
|