Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/distrib/sets Pullup rev 1.45 (requested by lukem in tic...



details:   https://anonhg.NetBSD.org/src/rev/0bb2d67d873b
branches:  netbsd-2-0
changeset: 560476:0bb2d67d873b
user:      jmc <jmc%NetBSD.org@localhost>
date:      Wed Apr 21 03:22:33 2004 +0000

description:
Pullup rev 1.45 (requested by lukem in ticket #166)

* Support '-x xsrcdir' to tar up xsrcdir as xsrc.tgz, with the
  contents of the tarfile being relative to xsrcdir and
  prefixed with 'usr/xsrc'
* Convert to getopts a la the other scripts in this directory
* if ${MKX11} != no, call makesrctars with '-x ${X11SRCDIR}'

diffstat:

 distrib/sets/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 16833fcc6413 -r 0bb2d67d873b distrib/sets/Makefile
--- a/distrib/sets/Makefile     Wed Apr 21 03:22:28 2004 +0000
+++ b/distrib/sets/Makefile     Wed Apr 21 03:22:33 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.44 2004/03/06 16:12:06 heas Exp $
+#      $NetBSD: Makefile,v 1.44.2.1 2004/04/21 03:22:33 jmc Exp $
 
 # The `all' target must appear before bsd.own.mk is pulled in.
 all:
@@ -17,8 +17,10 @@
 
 .if ${MKX11} != "no"
 MAKEFLIST_FLAGS=       -b
+MAKESRCTARS_FLAGS=     -x ${X11SRCDIR}
 .else
 MAKEFLIST_FLAGS=
+MAKESRCTARS_FLAGS=
 .endif
 
 .if !defined(MAKETARSETS)
@@ -104,7 +106,8 @@
 
 makesrctars: .PRECIOUS .PHONY check_RELEASEDIR
        mkdir -p ${SOURCETARDIR}
-       ${SETSCMD} ./makesrctars ${NETBSDSRCDIR} ${SOURCETARDIR}
+       ${SETSCMD} ./makesrctars ${MAKESRCTARS_FLAGS} \
+           ${NETBSDSRCDIR} ${SOURCETARDIR}
 
 
 makesums: .PRECIOUS .PHONY check_RELEASEDIR .WAIT \



Home | Main Index | Thread Index | Old Index