[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: Makefile.maint
From: |
Jim Meyering |
Subject: |
Re: FYI: Makefile.maint |
Date: |
Sat, 14 Jul 2001 20:05:56 +0200 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 |
Thanks! Applied.
Here's a change that I had to make for cppi, since its tgz file is < 1MB.
2001-07-14 Jim Meyering <address@hidden>
* Makefile.maint (tgz-size): Also work for sizes in the kilobyte range.
Index: Makefile.maint
===================================================================
RCS file: /cvsroot/autoconf/autoconf/Makefile.maint,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile.maint
--- Makefile.maint 2001/07/14 15:55:39 1.6
+++ Makefile.maint 2001/07/14 16:26:39
@@ -139,8 +139,8 @@ url_dir_list = $(foreach x,$(hosts),ftp:
md5 = $(shell md5sum < $(my_distdir).tar.gz|sed 's/ -//')
sha1 = $(shell sha1sum < $(my_distdir).tar.gz|sed 's/ -//')
-tgz-size = $(shell du --human $(my_distdir).tar.gz|sed 's/M.*/MB/')
-xd-size = $(shell du --human $(xd-delta)|sed 's/M.*/MB/')
+tgz-size = $(shell du --human $(my_distdir).tar.gz|sed 's/\([Mk]\).*/ \1B/')
+xd-size = $(shell du --human $(xd-delta)|sed 's/\([Mk]\).*/ \1B/')
rel-check:
tarz=/tmp/rel-check-tarz-$$$$; \