[hipl-commit] [trunk] Rev 4145: autobuild: Check that the distribution tarball is complete.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 7 Apr 2010 15:23:25 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 07/04/2010 at 15:23:25
Revision: 4145
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  autobuild: Check that the distribution tarball is complete.

Modified:
  M  tools/hipl_autobuild.sh

=== modified file 'tools/hipl_autobuild.sh'
--- tools/hipl_autobuild.sh     2010-04-07 12:21:03 +0000
+++ tools/hipl_autobuild.sh     2010-04-07 12:23:00 +0000
@@ -67,6 +67,21 @@
     exit $1
 }
 
+# Make sure that 'make dist' is complete.
+check_dist()
+{
+# tools/hipdnskeyparse and tools/hipdnsproxy need to be removed manually
+# until the Python tool situation has been cleaned up.
+    find -L . | sed -e 1d -e 's:./::' -e '/\.bzr/d' -e '/autom4te.cache/d' -e 
'/file_list_checkout/d' |
+        sort > file_list_checkout
+    ./configure && make dist
+    tar -tzf hipl-*.tar.gz |
+        sed -e 1d -e 's:hipl-main/::' -e 's:/$::' -e '/file_list_checkout/d' 
-e '/version.h/d' |
+        sed -e '/tools\/hipdnskeyparse/d' -e '/tools\/hipdnsproxy/d' |
+        sort > file_list_tarball
+    run_program diff -u file_list_checkout file_list_tarball
+}
+
 compile()
 {
     CONFIGURATION="--prefix=$(pwd)/local_install $@"
@@ -85,6 +100,8 @@
 # Bootstrap the autotools build system.
 run_program autoreconf --install
 
+check_dist
+
 # Compile HIPL in different configurations
 # vanilla configuration
 compile

Other related posts:

  • » [hipl-commit] [trunk] Rev 4145: autobuild: Check that the distribution tarball is complete. - Diego Biurrun