diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2017-06-28 10:33:09 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2017-06-28 10:33:09 +0000 |
commit | cf0ab98338cc4e03568af301d9b2d26479968c1a (patch) | |
tree | 75a2e058e25ecdf699f76e4d55b0db13f818a341 /share | |
parent | 722b337eab3cabaf0e5c56aa4863c85f26468eb5 (diff) |
document generate-readmes and diagnostic for missing PKGDIR.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/bsd.port.mk.5 | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5 index 93b518317ed..90fc52704f5 100644 --- a/share/man/man5/bsd.port.mk.5 +++ b/share/man/man5/bsd.port.mk.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bsd.port.mk.5,v 1.462 2017/06/10 10:13:10 espie Exp $ +.\" $OpenBSD: bsd.port.mk.5,v 1.463 2017/06/28 10:33:08 espie Exp $ .\" .\" Copyright (c) 2000-2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 10 2017 $ +.Dd $Mdocdate: June 28 2017 $ .Dt BSD.PORT.MK 5 .Os .Sh NAME @@ -355,6 +355,18 @@ but also fetches .Ev SUPDISTFILES , for use with e.g., .Cm makesum . +.It Cm generate-readmes +Generate READMEs and rc scripts from +.Pa ${PKGDIR} +into +.Pa ${WRKINST} . +Run after +.Cm fake +and before +.Cm package +or +.Cm update-plist . +Always rerun, as it is cheap enough. .It Cm index Top-level target, see .Xr ports 7 . @@ -3102,6 +3114,16 @@ commands, but grouped here for convenience: easier to look for in .Xr dpb 1 Ns 's logs. .Bl -diag +.It "/bin/sh: cd .../pkg - No such file or directory" +Emitted during +.Cm generate-readmes. +.Pa ${PKGDIR} +must point to an existing directory, so that +.Nm +can be certain there are no +.Pa MESSAGEs +or +other files pertinent to the package. .It "Discovered old directory in ..." This message comes from .Xr make-plist 1 . @@ -3408,8 +3430,10 @@ or .Pa ${PKGDIR}/*.rc get copied to .Pa ${WRKINST} -at the end of -.Cm fake +right after the end of +.Cm fake , +during +.Cm generate-readmes (see the .Sx FILES section above for details). |