summaryrefslogtreecommitdiff
path: root/pkgtools/revbump/files
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-05-06 12:41:46 +0000
committerwiz <wiz@pkgsrc.org>2014-05-06 12:41:46 +0000
commit271205d10219bd395108fa24453ca2671f154826 (patch)
treeea68652dbe5f8753c2a54d68f984ececb2d56476 /pkgtools/revbump/files
parentad7a6a425469a7a8a6ae655a034c0c37599e5b32 (diff)
downloadpkgsrc-271205d10219bd395108fa24453ca2671f154826.tar.gz
Make finddepends look in modules.mk, plugins.mk, and schemas.mk as well.
Suggested by obache. Bump version.
Diffstat (limited to 'pkgtools/revbump/files')
-rw-r--r--pkgtools/revbump/files/finddepends10
-rw-r--r--pkgtools/revbump/files/revbump.110
2 files changed, 13 insertions, 7 deletions
diff --git a/pkgtools/revbump/files/finddepends b/pkgtools/revbump/files/finddepends
index 00e8a227d78..2604a728a80 100644
--- a/pkgtools/revbump/files/finddepends
+++ b/pkgtools/revbump/files/finddepends
@@ -1,9 +1,9 @@
#!@PERL@ -w
# -*- perl -*-
#
-# $NetBSD: finddepends,v 1.8 2013/10/21 10:43:28 wiz Exp $
+# $NetBSD: finddepends,v 1.9 2014/05/06 12:41:46 wiz Exp $
#
-# Copyright (c) 2006 The NetBSD Foundation, Inc.
+# Copyright (c) 2006, 2014 The NetBSD Foundation, Inc.
#
# This code was originally contributed to the NetBSD Foundation, Inc.
# by Thomas Klausner <wiz@NetBSD.org>.
@@ -108,8 +108,14 @@ print "\n";
@makefiles = <$PKGSRCDIR/*/*/Makefile*>;
@optionfiles = <$PKGSRCDIR/*/*/options.mk>;
push(@makefiles, @optionfiles);
+@optionfiles = <$PKGSRCDIR/*/*/modules.mk>;
+push(@makefiles, @optionfiles);
@optionfiles = <$PKGSRCDIR/*/*/mozilla-common.mk>;
push(@makefiles, @optionfiles);
+@optionfiles = <$PKGSRCDIR/*/*/plugins.mk>;
+push(@makefiles, @optionfiles);
+@optionfiles = <$PKGSRCDIR/*/*/schemas.mk>;
+push(@makefiles, @optionfiles);
for $makefile (@makefiles) {
# print "* reading $makefile\n";
diff --git a/pkgtools/revbump/files/revbump.1 b/pkgtools/revbump/files/revbump.1
index a2a90d3bfcb..ba05317e46f 100644
--- a/pkgtools/revbump/files/revbump.1
+++ b/pkgtools/revbump/files/revbump.1
@@ -1,6 +1,6 @@
-.\" $NetBSD: revbump.1,v 1.17 2014/05/05 04:38:53 obache Exp $
+.\" $NetBSD: revbump.1,v 1.18 2014/05/06 12:41:46 wiz Exp $
.\"
-.\" Copyright (c) 2003, 2004, 2005, 2006, 2010, 2012, 2013 The NetBSD Foundation, Inc.
+.\" Copyright (c) 2003, 2004, 2005, 2006, 2010, 2012, 2013, 2014 The NetBSD Foundation, Inc.
.\"
.\" This code was originally contributed to the NetBSD Foundation, Inc.
.\" by Julio Merino <jmmv@NetBSD.org> and Thomas Klausner <wiz@NetBSD.org>.
@@ -31,7 +31,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 21, 2013
+.Dd May 6, 2014
.Dt REVBUMP 1
.Os
.Sh NAME
@@ -87,9 +87,9 @@ would be:
cd /usr/pkgsrc
finddepends category/package \*[Gt] allbump
grep buildlink3.mk allbump | sed 's/.buildlink3.mk//' \*[Gt] bl3bump
-grep -e Makefile.common -e mozilla-common.mk allbump > commonbump
+grep -e Makefile.common -e mk$ allbump > commonbump
[read commonbump and replace entries with all packages including the
- corresponding Makefile.common or mozilla-common.mk file]
+ corresponding Makefile.common or *.mk file]
cat allbump commonbump | sed 's,/[^/]*$,,' | sort -u \*[Gt] makebump
revbump \*[Lt] makebump \*[Gt] makebump.manual
[if a package is listed in makebump.manual outside a line