aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove quotes around Makefile .error/.warn/.info stringsEd Maste2022-01-221-1/+1
| | | | | | | | The text after .error et al is emitted verbatim. Reviewed by: sjg Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33904
* mandoc: import version 1.14.6Baptiste Daroussin2021-11-151-0/+1
| | | | MFC after: 3 weeks
* Ensure that the makewhatis symlink is added in the bootstrap-tools stageAlex Richardson2020-09-101-0/+2
| | | | | | | | | | | | | We currently set MK_MAN=no in $BSARGS so MK_MAN_UTILS will also be false which means that the makewhatis symlink will not be created. This change fixes the build when using both -DBUILD_WITH_STRICT_TMPPATH and -DBOOTSTRAP_ALL_TOOLS. Tested by: andrew Differential Revision: https://reviews.freebsd.org/D16761 Notes: svn path=/head/; revision=365584
* Suppress old gcc warning about null format stringLi-Wen Hsu2019-04-121-0/+2
| | | | | | | | | | This is workaround to make head build on gcc using architectures Sponsored by: The FreeBSD Foundation MFC-with: r346149 Notes: svn path=/head/; revision=346160
* Update mandoc to 1.14.5Baptiste Daroussin2019-04-121-1/+3
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=346149
* Import mandoc 1.14.4Baptiste Daroussin2018-09-201-2/+2
| | | | | | | | Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=338826
* reinstall the roff(7) manpageBaptiste Daroussin2018-04-131-1/+1
| | | | | | | | | | | | | | When we had both groff and mandoc in base, we decided to keep the roff(7) manpage from groff. when remoing groff, we forgot to install the mandoc version instead. This fixes it. Reported by: trasz MFC after: 1 week Notes: svn path=/head/; revision=332466
* Update mandoc to 1.14.2Baptiste Daroussin2017-07-311-1/+3
| | | | Notes: svn path=/head/; revision=321810
* Import mandoc snapshot 2017-06-08Baptiste Daroussin2017-06-081-2/+5
| | | | | | | | | | | | It implements missing man(7) macros used in base by kerberos/ntp and makes them supported by mandoc. This import should have been done before the removal of groff. Reported by: gordon Notes: svn path=/head/; revision=319717
* Adopt SRCTOP in usr.binWarner Losh2017-03-121-2/+2
| | | | | | | | | | | | Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice) Notes: svn path=/head/; revision=315170
* Remove the WITHOUT_MANDOCDB optionBaptiste Daroussin2017-03-111-1/+1
| | | | | | | | mandoc database is activated since FreeBSD 11.0, let's remove the previous database format for FreeBSD 12.0 Notes: svn path=/head/; revision=315057
* Import mandoc cvs snapshot 20170121 (pre 1.14)Baptiste Daroussin2017-01-211-11/+16
| | | | | | | | | Note that mandoc does not use anymore sqlite3 but a home made database format An important improvement has been made as well in makewhatis performance: Tests on my laptop shows makewhatis on the entire system goes from 26s to 12s Notes: svn path=/head/; revision=312593
* Remove usage of _WITH_GETLINE from usr.binBaptiste Daroussin2016-07-301-1/+0
| | | | Notes: svn path=/head/; revision=303526
* Only build makewhatis(1)/apropos(1) with MAN_UTILS.Bryan Drewery2016-07-201-1/+1
| | | | | | | | | | This is what src.conf(5) documents and is what the older non-mandoc versions respected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=303051
* Update mandoc to 20160116Baptiste Daroussin2016-01-151-2/+4
| | | | Notes: svn path=/head/; revision=294113
* Rename libohash to libopenbsd.Craig Rodrigues2015-11-041-2/+2
| | | | | | | | | | | | | | | libopenbsd is an internal library which to bring in compatibility stuff from OpenBSD. This will allow us to bring in more OpenBSD utilities into the FreeBSD base system. We similarly use libnetbsd for bringing in stuff from NetBSD. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D4078 Notes: svn path=/head/; revision=290351
* Replace the gunzip(1) system by a minimalistic zlib based implementation.Baptiste Daroussin2015-06-031-1/+1
| | | | | | | | This allows to not depend on gunzip(1) at bootstrap time, and is good enough to wait for upstream real implementation using zlib. Notes: svn path=/head/; revision=283945
* Switch to mandoc's version of makewhatis(8), whatis(1), apropos(1) utilities.Baptiste Daroussin2015-05-301-1/+10
| | | | | | | | | | | | | | This change among other things improve search capabilities over the manpages allowing fine grain query. A new build option WITHOUT_MANDOCDB has been added to keep the ancient version of the database and the tools. The plan is to entirely remove this option before 11.0-RELEASE. Differential Revision: https://reviews.freebsd.org/D2603 Notes: svn path=/head/; revision=283777
* Drop libmandoc and incorporate it into the main mandoc MakefileBaptiste Daroussin2015-05-211-2/+34
| | | | | | | | This simplifies maintainance of mandoc(1). Note that the same direction was taken on OpenBSD Notes: svn path=/head/; revision=283220
* Remove bad and useless LINKSBaptiste Daroussin2015-03-151-1/+0
| | | | Notes: svn path=/head/; revision=280128
* Update mandoc to 1.13.2Baptiste Daroussin2014-12-251-6/+7
| | | | Notes: svn path=/head/; revision=276219
* Update to mandoc cvs version as of 20141201Baptiste Daroussin2014-12-021-2/+13
| | | | | | | | | - Compatiblity with existing manpages has been improved - Now support ".so" directive with compressed manpages (which fixes a regression we have since we have new man(1)) Notes: svn path=/head/; revision=275432
* Convert mandoc to LIBADDBaptiste Daroussin2014-11-241-3/+1
| | | | | | | While here remove the ugly LDMANDOC Notes: svn path=/head/; revision=274989
* Install mdoc(7) and man(7) from mdoc instead of the one from groffBaptiste Daroussin2014-11-231-1/+1
| | | | Notes: svn path=/head/; revision=274930
* Rework mandoc Makefile to ease maintainanceBaptiste Daroussin2014-11-221-5/+20
| | | | | | | | Add compat_reallocarray into libmandoc given other mandoc components will use it. Notes: svn path=/head/; revision=274891
* Update mandoc to 1.13.1Baptiste Daroussin2014-11-221-4/+6
| | | | Notes: svn path=/head/; revision=274880
* Revert r267233 for now. PIE support needs to be reworked.Bryan Drewery2014-08-191-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib Notes: svn path=/head/; revision=270168
* In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.Bryan Drewery2014-06-081-0/+2
| | | | | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2] Notes: svn path=/head/; revision=267233
* Merge mdocml v1.12.3 into headUlrich Spörlein2014-02-011-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=261344
* Merge mandoc from vendor into contrib and provide the necessary Makefile glue.Ulrich Spörlein2012-10-191-0/+22
It's not yet connected to the build. Notes: svn path=/head/; revision=241754