diff options
Diffstat (limited to 'pkgtools/pkgdiff/files/mkpatches.1')
-rw-r--r-- | pkgtools/pkgdiff/files/mkpatches.1 | 36 |
1 files changed, 27 insertions, 9 deletions
diff --git a/pkgtools/pkgdiff/files/mkpatches.1 b/pkgtools/pkgdiff/files/mkpatches.1 index 691aeca6da0..4333cdb4ff1 100644 --- a/pkgtools/pkgdiff/files/mkpatches.1 +++ b/pkgtools/pkgdiff/files/mkpatches.1 @@ -1,9 +1,9 @@ -.\" $NetBSD: mkpatches.1,v 1.3 2005/12/13 12:05:08 wiz Exp $ +.\" $NetBSD: mkpatches.1,v 1.4 2011/02/02 10:23:02 wiz Exp $ .\" -.\" Copyright (c) 2000 by Thomas Klausner <wiz@NetBSD.org> +.\" Copyright (c) 2000-2011 by Thomas Klausner <wiz@NetBSD.org> .\" All Rights Reserved. Absolutely no warranty. .\" -.Dd June 25, 2000 +.Dd January 31, 2011 .Dt MKPATCHES 1 .Os .Sh NAME @@ -11,7 +11,8 @@ .Nd create patch files appropriate for pkgsrc .Sh SYNOPSIS .Nm -.Op Fl d Ar output-directory +.Oo Fl c | Fl r Oc +.Op Fl hv .Sh DESCRIPTION .Nm is a perl script that simplifies creating patches from a changed work @@ -31,12 +32,29 @@ changed file of the same name (with no extension) using .Xr pkgdiff 1 . .Pp -The resulting patches are saved in the directory -.Pa ${WRKDIR}/.newpatches -or the directory specified after -.Fl d , +The resulting patches are saved in the package's patches directory +(usually +.Pa patches/ ) and can be easily compared to the currently existing set using -.Xr patchdiff 1 . +.Xr patchdiff 1 +or +.Ic "cvs diff" . +.Pp +Supported options are: +.Bl -tag -width 3n +.It Fl c +Clean up backup patches of previous runs. +Use this after you're finished working on the patch set and committed +it. +.It Fl h +Show a short usage. +.It Fl r +Revert the changes. +Removes the new patches and puts the original patches back. +.It Fl v +More verbose output. +.El .Sh SEE ALSO +.Xr cvs 1 , .Xr patchdiff 1 , .Xr pkgdiff 1 |