From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KaTwc-0003xw-0e for mharc-grub-devel@gnu.org; Tue, 02 Sep 2008 07:21:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaTwa-0003wl-Im for grub-devel@gnu.org; Tue, 02 Sep 2008 07:21:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaTwY-0003vP-Ox for grub-devel@gnu.org; Tue, 02 Sep 2008 07:21:07 -0400 Received: from [199.232.76.173] (port=36949 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaTwY-0003vI-HP for grub-devel@gnu.org; Tue, 02 Sep 2008 07:21:06 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:55183) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaTwY-0006L7-20 for grub-devel@gnu.org; Tue, 02 Sep 2008 07:21:06 -0400 Received: from [85.180.13.152] (e180013152.adsl.alicedsl.de [85.180.13.152]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1KaTwW32Ia-0001WD; Tue, 02 Sep 2008 13:21:05 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <1220353928.4101.26.camel@fz.local> References: <1219403324.4450.37.camel@fz.local> <20080822125823.GC20330@thorin> <1219410801.4450.56.camel@fz.local> <1220050444.11557.11.camel@fz.local> <1220051014.7979.6.camel@dv> <1220088538.10913.9.camel@fz.local> <1220148681.7450.14.camel@dv> <1220353928.4101.26.camel@fz.local> Content-Type: multipart/mixed; boundary="=-GYZTlG+I9ZUucDcl+IS4" Date: Tue, 02 Sep 2008 13:21:03 +0200 Message-Id: <1220354463.6359.3.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-Provags-ID: V01U2FsdGVkX197OPjpY15TYHoyqfDGcT7MWdhfNLuyzSYf1ox 6Xvlz5HDtmVDWYwrcWfJaq5pDtPJyhODL9mYKLQ/K3RKNNmzj5 pYnXUS1r3ea/5lIWjR0DV3iEbkbyapM X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Subject: Re: [RFC] DISTLIST and gendistlist.sh X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2008 11:21:09 -0000 --=-GYZTlG+I9ZUucDcl+IS4 Content-Type: text/plain Content-Transfer-Encoding: 7bit Am Dienstag, den 02.09.2008, 13:12 +0200 schrieb Felix Zielcke: > Attached is now a patch which adds ./gendistlist.sh call to autogen.sh > and uses SVN in case it is avaible to generate it. > Ok it's better to look at the patches before sending them. +if test -d .svn ; then + svn ls -R | sed '/\/$/d' +fi a exit 0 can be really great ;) Well attached. > But 2 questions come now in my mind: seems like `3' is the right count. -- Felix Zielcke --=-GYZTlG+I9ZUucDcl+IS4 Content-Disposition: attachment; filename=distlist.diff.3 Content-Type: text/plain; name=distlist.diff.3; charset=UTF-8 Content-Transfer-Encoding: 7bit 2008-08-02 Felix Zielcke * autogen.sh: Call `gendistlist.sh'. * gendistlist.sh: Update to use `svn' in case it is avaible. Index: autogen.sh =================================================================== --- autogen.sh (Revision 1845) +++ autogen.sh (Arbeitskopie) @@ -8,5 +8,6 @@ echo timestamp > stamp-h.in for rmk in conf/*.rmk; do ruby genmk.rb < $rmk > `echo $rmk | sed 's/\.rmk$/.mk/'` done +./gendistlist.sh > DISTLIST exit 0 Index: gendistlist.sh =================================================================== --- gendistlist.sh (Revision 1845) +++ gendistlist.sh (Arbeitskopie) @@ -13,6 +13,10 @@ # Generate a list of distributed files. +if test -d .svn ; then + svn ls -R | sed '/\/$/d' + exit 0 +fi EXTRA_DISTFILES="AUTHORS COPYING ChangeLog DISTLIST INSTALL NEWS README \ THANKS TODO Makefile.in aclocal.m4 autogen.sh config.guess \ config.h.in config.sub configure configure.ac gencmdlist.sh \ --=-GYZTlG+I9ZUucDcl+IS4--