]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2632. [func] util/kit.sh: warn if documentation appears to be out of
authorMark Andrews <marka@isc.org>
Thu, 16 Jul 2009 05:33:48 +0000 (05:33 +0000)
committerMark Andrews <marka@isc.org>
Thu, 16 Jul 2009 05:33:48 +0000 (05:33 +0000)
                        date.  [RT #19922]

CHANGES
util/kit.sh

diff --git a/CHANGES b/CHANGES
index c4b962bb56122108ac985569969df878fd4c2fef..364a5bb0fcdf5da7bc2e723fcbabce8e9660ef4c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2632.  [func]          util/kit.sh: warn if documentation appears to be out of
+                       date.  [RT #19922]
+
 2623.  [bug]           Named started seaches for DS non-optimally. [RT #19915]
 
 2621.  [doc]           Made copyright boilterplate consistent.  [RT #19833]
index 4882a64537d2c2b818e6e9b90155acdf99c74313..6500f47c3a462b63ad75f90cb8eccf5a734e9b4e 100644 (file)
@@ -15,7 +15,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: kit.sh,v 1.31 2007/06/19 23:47:24 tbox Exp $
+# $Id: kit.sh,v 1.31.128.1 2009/07/16 05:33:48 marka Exp $
 
 # Make a release kit
 #
@@ -137,6 +137,29 @@ do
        mv tmp $f
 done
 
+# check that documentation has been updated properly; issue a warning
+# if it hasn't
+if test doc/arm/Bv9ARM-book.xml -nt doc/arm/Bv9ARM.html
+then
+       echo "WARNING: ARM source is newer than the html version."
+fi
+
+if test doc/arm/Bv9ARM-book.xml -nt doc/arm/Bv9ARM.pdf
+then
+       echo "WARNING: ARM source is newer than the PDF version."
+fi
+
+for f in `find . -name "*.docbook" -print`
+do
+       docbookfile=$f
+       htmlfile=${f%.docbook}.html
+       if test $docbookfile -nt $htmlfile
+       then
+               echo "WARNING: $docbookfile is newer than the html version."
+       fi
+done
+
+# build the tarball
 cd .. || exit 1
 
 kit=$topdir.tar.gz