summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* 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>.
* merge from VERSION_1_12: do not complain about unused variables in test-*.cIngo Schwarze2013-10-051-7/+7
|
* Merge from VERSION_1_12, in particular release date, pkgsrc port version,Ingo Schwarze2013-10-051-1/+1
| | | | link to NEWS file, link to Alpine Linux, and fix one FreeBSD link.
* Merge from branch VERSION_1_12:Ingo Schwarze2013-10-021-9/+17
| | | | | | | | | - add the new SCRS files NEWS and gmdiff - add tbl.3 to SRCS, INDEX_MANS, and install - bring back the SCRS files apropos.{c,1} that somehow got lost - bring back the INDEX_MANS apropos.1.html that also got lost - update VERSION, VDATE, and OSNAME - improve comment regarding STATIC
* 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
|
* Initial support for man.conf/makepath(1).Kristaps Dzonsons2011-11-201-0/+3
|
* Inventing new keywords for mostly the same thing when a well-establishedIngo Schwarze2011-11-131-3/+4
| | | | | | | | | | set of keywords already exists is a bad idea, so reuse the mdoc(7) macro names as apropos(1) search types. This is a gain in brevity as well. Some time ago, kristaps@ agreed in principle. The search type bit field constants are used by both mandocdb(8) and apropos(1) and should better stay in sync, so give them their own header file.
* Less misleading file names; ok kristaps@.Ingo Schwarze2011-11-131-6/+6
|
* Split apropos.c into db.c and apropos.h with simpler code (re-written, butKristaps Dzonsons2011-11-091-15/+29
| | | | | | | | | inspired by apropos.c and mandoc-tools' mandoc-cgi.c). This uses UTF-8 right now for its re-writing, but will soon accomodate for the regular suspects (this is a rather simple matter). I also introduce man.cgi (cgi.c), which is a standalone CGI that replaces mandoc-tools' mandoc.cgi. Right now it's just a framework.
* Tweak Makefile and add config.h to -Tman to allow cross-compiling onKristaps Dzonsons2011-10-081-4/+13
| | | | Windows (via MingW).
* Get ready for version. I'm bumping the minor release to 1.12 becauseKristaps Dzonsons2011-10-081-2/+2
| | | | | this involves both a major functionality addition (-Tman), a new utility (apropos), and both apropos and mandocdb being built by default.
* Make apropos and mandocdb build by default.Kristaps Dzonsons2011-10-061-2/+2
|
* Import apropos from mandoc-tools after inlining all source filesKristaps Dzonsons2011-10-061-1/+21
| | | | | | | (originally including extern.h, state.c, and sort.c). The apropos utility interfaces with the databases of mandocdb to provide semantic searching capabilities. It Works For Me, but will need lots of cleanup in the coming months.
* Initial, incomplete support for -TmanIngo Schwarze2011-09-171-0/+6
| | | | | | | | to convert mdoc(7) documents to the man(7) language. This is work in progress and will be developed in tree. It does already handle the cat(1) manual, but will hardly handle all your fancy manuals yet. go ahead kristaps@ jmc@ millert@ deraadt@
* Adding version notes.Kristaps Dzonsons2011-09-021-2/+2
|
* Add demandoc utility, a replacement for deroff.Kristaps Dzonsons2011-09-011-5/+25
|
* Added generation of Universal binary. Fixed up index.sgml to be shorterKristaps Dzonsons2011-08-161-6/+16
| | | | and more expressive.
* Version: 1.11.6.Kristaps Dzonsons2011-08-161-2/+2
|
* Updating mingw32 install hooks for new mingw version.Kristaps Dzonsons2011-08-161-2/+13
|
* Initial version bits in place. Also added forgotten tests to installed files.Kristaps Dzonsons2011-08-161-0/+2
|
* Implement the first steps of equation parsing from within libmdoc.Kristaps Dzonsons2011-07-251-0/+5
| | | | | | This consists of a shim around the text parser that calls out to libroff if equation components exist on the line. Right now this will do nothing, as the equation delimiter always returns nil.
* We're officially no longer UNIX-specific; make this clear.Kristaps Dzonsons2011-07-241-2/+3
|
* Scary-looking but otherwise harmless changes allow me to build for Windows.Kristaps Dzonsons2011-07-241-10/+38
| | | | | | | | | | | | That is to say, with mingw32. This amounts to the following: (1) break compat.c into compat_strlcpy.c and compat_strlcat.c (2) add compat_getsubopt.c (from OpenBSD) and test-getsubopt.c (3) add test-strptime.c for HAVE_STRPTIME (4) add ifdef bits here and there, where necessary (5) remove some harmless unportable stuff (u_char, localtime_r) I've added the appropriate mdocml.zip target to the Makefile, too.
* Tuned the initial eqn output, making it completely simple. ThisKristaps Dzonsons2011-07-241-2/+2
| | | | completes a full initial eqn system, so I'm tagging a release on it.
* Flip on equation printing for -T[x]html.Kristaps Dzonsons2011-07-231-2/+5
|
* Add character output (-Tpdf, -Tps, -Tascii) for equations. This is theKristaps Dzonsons2011-07-221-2/+5
| | | | minimum: unseparated terms.
* Make `struct roff' be passed into libmdoc and libman upon creation.Kristaps Dzonsons2011-07-181-2/+4
| | | | | This is required for supporting in-line equations. While here, push registers properly into roff and add an set/get/mod interface.
* Remember to NULL-ify new keys/vals.Kristaps Dzonsons2011-07-171-1/+1
|
* move mandocdb(1) to mandocdb(8)Ingo Schwarze2011-07-141-19/+20
| | | | "please make this change" kristaps@
* Rename makewhatis [back] into mandocdb. This is to maintain consistencyKristaps Dzonsons2011-07-141-16/+16
| | | | | | with OpenBSD, which is sandboxing the code for merge. It makes sense because it doesn't really make a `makewhatis' file in the traditional sense, so it may be confusing.