From owner-freebsd-current Sat Jul 8 16:05:15 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA13368 for current-outgoing; Sat, 8 Jul 1995 16:05:15 -0700 Received: from haywire.DIALix.COM (peter@haywire.DIALix.COM [192.203.228.65]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id QAA13331 for ; Sat, 8 Jul 1995 16:05:12 -0700 Received: (from peter@localhost) by haywire.DIALix.COM (8.6.12/8.6.12/DIALix) id HAA20161; Sun, 9 Jul 1995 07:05:05 +0800 Date: Sun, 9 Jul 1995 07:05:01 +0800 (WST) From: Peter Wemm To: current@freebsd.org Subject: Comments? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: current-owner@freebsd.org Precedence: bulk When you do a make to build the source from scratch, send-pr isn't rebuilt to include the new build-date, because send-pr is built once, and the there are no dependencies to cause it to be remade when the RELEASE variable changes. How does this look for a suggested change? I know, it depends on the user's path, but that can be fixed.. This is a suggestion of a possible style of change only.. -Peter (PS: There is a "RELEASE!= uname -rsm" at the top of the Makefile) Index: Makefile =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/send-pr/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- 1.6 1995/01/16 17:49:20 +++ Makefile 1995/07/08 22:57:20 @@ -13,11 +13,10 @@ send-pr: send-pr.sh Makefile sed -e 's,@DATADIR@,/etc,g' \ - -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' \ -e 's/^SUBMITTER=.*/SUBMITTER=$(SUBMITTERS)/' \ ${.ALLSRC:N*Makefile} > ${.TARGET} -send-pr.el: send-pr-el.in Makefile +send-pr.el: send-pr-el.in Makefile /usr/bin/uname sed -e 's,@DATADIR@,/etc,g' \ -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' \ -e 's/"unknown"/"$(SUBMITTERS)"/g' \ Index: send-pr.sh =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/send-pr/send-pr.sh,v retrieving revision 1.5 diff -u -r1.5 send-pr.sh --- 1.5 1994/11/10 02:34:54 +++ send-pr.sh 1995/07/08 22:57:55 @@ -40,7 +40,7 @@ [ ! -d $DATADIR/gnats -a -d "$GCC_EXEC_PREFIX" ] && DATADIR=@DATADIR@ # The default release for this host. -DEFAULT_RELEASE="@DEFAULT_RELEASE@" +DEFAULT_RELEASE="`uname -rsm`" # The default organization. DEFAULT_ORGANIZATION=