automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, branch-1-10, updated. Relea


From: Ralf Wildenhues
Subject: [Automake-commit] [SCM] GNU Automake branch, branch-1-10, updated. Release-1-10-1-46-gddfd897
Date: Sun, 02 Nov 2008 22:08:01 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=ddfd897fd70b6f5da6522bd1c9ad735bcf194ad9

The branch, branch-1-10 has been updated
       via  ddfd897fd70b6f5da6522bd1c9ad735bcf194ad9 (commit)
      from  38f2df76e51eb4a7cca7702acf227dede6bb80f2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ddfd897fd70b6f5da6522bd1c9ad735bcf194ad9
Author: Ralf Wildenhues <address@hidden>
Date:   Sun Nov 2 22:59:38 2008 +0100

    New maintainer target release-stats.
    
    * Makefile.am (release-stats): New target, to help computing the
    entries in the statistics table in automake.texi.
    * doc/automake.texi (Releases): Reformat a bit.  Add number of
    generated files.  Add entry for 1.10.1.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    8 ++++++++
 HACKING           |    3 +++
 Makefile.am       |   29 +++++++++++++++++++++++++++++
 Makefile.in       |   26 ++++++++++++++++++++++++++
 doc/automake.texi |   12 +++++++-----
 5 files changed, 73 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0956560..9d03c71 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-11-02  Ralf Wildenhues  <address@hidden>
+
+       New maintainer target release-stats.
+       * Makefile.am (release-stats): New target, to help computing the
+       entries in the statistics table in automake.texi.
+       * doc/automake.texi (Releases): Reformat a bit.  Add number of
+       generated files.  Add entry for 1.10.1.
+
 2008-10-27  Ralf Wildenhues  <address@hidden>
 
        * NEWS: Fix typo.  Move entry to correct section.
diff --git a/HACKING b/HACKING
index 74c8950..e8055d4 100644
--- a/HACKING
+++ b/HACKING
@@ -138,6 +138,9 @@
 
 * Run ./bootstrap, ./configure, make.
 
+* Run `make release-stats' if release statistics in doc/automake.texi
+  have not been updated yet.
+
 * NOTE: the next step has not been tested yet with git, so be careful.
 
 * Run `make git-release'.
diff --git a/Makefile.am b/Makefile.am
index a63ae6c..8f099ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -402,3 +402,32 @@ fetch:
        test $$stat = 0 || \
          echo "See Fetchdir/update.patch for a log of the changes."; \
        exit $$stat
+
+## Generate release statistics, for the table in automake.texi.
+## This has to be run in an up to date build tree, but there must
+## be no temp files nor unused other files lying around!
+release-stats: ps
+       @am=`wc -l < automake` && \
+       acl=`wc -l < aclocal` && \
+       pmfiles="lib/Automake/*.pm" && \
+       if test . != '$(srcdir)'; then pmfiles="$$pmfiles 
$(srcdir)/lib/Automake/*.pm"; \
+       else :; fi && \
+       pm=`cat $$pmfiles | wc -l` && \
+       dot_am_files=`ls -1 $(srcdir)/lib/am/*.am | grep -v Makefile.am` && \
+       amf=`echo "$$dot_am_files" | wc -l` && \
+       aml=`cat $$dot_am_files | wc -l` && \
+       m4f=`ls -1 $(srcdir)/m4/*.m4 | wc -l` && \
+       m4l=`cat $(srcdir)/m4/*.m4 | wc -l` && \
+       doc_text=`cd doc && LC_ALL=C pstops 0 automake.ps unused.ps 2>&1` && \
+       rm -f doc/unused.ps && \
+       doc=`echo "$$doc_text" | sed -n 's/.*Wrote \([1-9][0-9]*\) 
pages.*/\1/p'` && \
+       tests="tests/*.test"; \
+       if test . != '$(srcdir)'; then tests="$$tests $(srcdir)/tests/*.test"; \
+       else :; fi && \
+       t=`ls -1 $$tests | wc -l` && \
+       tgen=`ls -1 $$tests | grep '.-p\.test' | wc -l` && \
+       today=`date +%Y-%m-%d` && \
+       echo "add this to the table in doc/automake.texi after verification:" 
&& \
+       printf '@item %s @tab %-6s @tab %4d @tab %4d @tab %4d @tab %4d %-4s 
@tab %4d %-4s @tab %3d @tab %d %-4s\n' \
+                     $$today $(VERSION) $$am    $$acl    $$pm   $$aml 
"($$amf)" $$m4l "($$m4f)" $$doc $$t "($$tgen)"
+.PHONY: release-stats
diff --git a/Makefile.in b/Makefile.in
index 8e156a2..7ed7c83 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -921,6 +921,32 @@ fetch:
        test $$stat = 0 || \
          echo "See Fetchdir/update.patch for a log of the changes."; \
        exit $$stat
+
+release-stats: ps
+       @am=`wc -l < automake` && \
+       acl=`wc -l < aclocal` && \
+       pmfiles="lib/Automake/*.pm" && \
+       if test . != '$(srcdir)'; then pmfiles="$$pmfiles 
$(srcdir)/lib/Automake/*.pm"; \
+       else :; fi && \
+       pm=`cat $$pmfiles | wc -l` && \
+       dot_am_files=`ls -1 $(srcdir)/lib/am/*.am | grep -v Makefile.am` && \
+       amf=`echo "$$dot_am_files" | wc -l` && \
+       aml=`cat $$dot_am_files | wc -l` && \
+       m4f=`ls -1 $(srcdir)/m4/*.m4 | wc -l` && \
+       m4l=`cat $(srcdir)/m4/*.m4 | wc -l` && \
+       doc_text=`cd doc && LC_ALL=C pstops 0 automake.ps unused.ps 2>&1` && \
+       rm -f doc/unused.ps && \
+       doc=`echo "$$doc_text" | sed -n 's/.*Wrote \([1-9][0-9]*\) 
pages.*/\1/p'` && \
+       tests="tests/*.test"; \
+       if test . != '$(srcdir)'; then tests="$$tests $(srcdir)/tests/*.test"; \
+       else :; fi && \
+       t=`ls -1 $$tests | wc -l` && \
+       tgen=`ls -1 $$tests | grep '.-p\.test' | wc -l` && \
+       today=`date +%Y-%m-%d` && \
+       echo "add this to the table in doc/automake.texi after verification:" 
&& \
+       printf '@item %s @tab %-6s @tab %4d @tab %4d @tab %4d @tab %4d %-4s 
@tab %4d %-4s @tab %3d @tab %d %-4s\n' \
+                     $$today $(VERSION) $$am    $$acl    $$pm   $$aml 
"($$amf)" $$m4l "($$m4f)" $$doc $$t "($$tgen)"
+.PHONY: release-stats
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
diff --git a/doc/automake.texi b/doc/automake.texi
index 265a3f8..0194745 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -12007,18 +12007,19 @@ The number of lines of the @command{aclocal} script.
 @item pm
 The number of lines of the @command{Perl} supporting modules.
 @item @file{*.am}
-The number of lines of the @file{Makefile} fragments.  The number in 
parenthesis
-is the number of files.
+The number of lines of the @file{Makefile} fragments.  The number in
+parentheses is the number of files.
 @item m4
 The number of lines (and files) of Autoconf macros.
 @item doc
 The number of pages of the documentation (the Postscript version).
 @item t
-The number of test cases in the test suite.
+The number of test cases in the test suite.  Of those, the number in
+parentheses is the number of generated test cases.
 @end table
 
address@hidden {8888-88-88} {8.8-p8} {8888} {8888} {8888} {8888 (88)} {8888 
(88)} {888} {888}
address@hidden Date   @tab Rel @tab am @tab acl @tab pm @tab @file{*.am} @tab 
m4 @tab doc @tab t
address@hidden {8888-88-88} {8.8-p8} {8888} {8888} {8888} {8888 (88)} {8888 
(88)} {888} {888 (88)}
address@hidden Date   @tab Rel    @tab   am @tab acl @tab   pm @tab @file{*.am} 
@tab m4 @tab doc @tab t
 @item 1994-09-19 @tab CVS    @tab  141 @tab     @tab      @tab  299 (24) @tab  
         @tab     @tab
 @item 1994-11-05 @tab CVS    @tab  208 @tab     @tab      @tab  332 (28) @tab  
         @tab     @tab
 @item 1995-11-23 @tab 0.20   @tab  533 @tab     @tab      @tab  458 (35) @tab  
         @tab   9 @tab
@@ -12074,6 +12075,7 @@ The number of test cases in the test suite.
 @item 2005-02-13 @tab 1.9.5  @tab 7523 @tab 719 @tab 7859 @tab 3373 (40) @tab 
1453 (32) @tab 142 @tab 562
 @item 2005-07-10 @tab 1.9.6  @tab 7539 @tab 699 @tab 7867 @tab 3400 (40) @tab 
1453 (32) @tab 144 @tab 570
 @item 2006-10-15 @tab 1.10   @tab 7859 @tab 1072 @tab 8024 @tab 3512 (40) @tab 
1496 (34) @tab 172 @tab 604
address@hidden 2008-01-19 @tab 1.10.1 @tab 7870 @tab 1089 @tab 8025 @tab 3520 
(40) @tab 1499 (34) @tab 173 @tab 617
 @end multitable
 
 


hooks/post-receive
--
GNU Automake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]