[hipl-commit] [trunk] Rev 3527: A bug fix to 'make dist' rule

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 03 Feb 2010 19:12:05 +0200

Committer: Miika Komu <miika@xxxxxx>
Date: Wed Feb 03 19:12:15 2010 +0200
Revision: 3527
Revision-id: miika@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  A bug fix to 'make dist' rule

Modified:
  M  Makefile.am
  M  autogen.sh

=== modified file 'Makefile.am'
--- Makefile.am 2010-01-31 21:29:06 +0000
+++ Makefile.am 2010-02-03 17:12:15 +0000
@@ -801,6 +801,10 @@
 tools/hipdnskeyparse:
        @sh test -x tools/hipdnskeyparse || tools/gen-python-starter.sh 
$(pyexecdir)/tools/hipdnskeyparse tools/parse-key-3.py tools/hipdnskeyparse
 
+# Make sure that dynamically generated scripts are properly generated
+# for "make dist" tarball.
+dist: all-local
+
 # This is necessary, because otherwise parallel builds may fail.
 all: all-local
 

=== modified file 'autogen.sh'
--- autogen.sh  2010-01-03 15:54:35 +0000
+++ autogen.sh  2010-02-03 17:12:15 +0000
@@ -60,6 +60,9 @@
     autoreconf --install --force || \
        (echo "Missing libtool, automake, autoconf or autoreconf?" && exit 1)
        (echo "" && echo "HIPL has the following dependencies: " && 
display_dependencies && exit 1)
+    # bug fix for "make dist" problems on a clean check out
+    touch tools/hipdnsproxy tools/hipdnskeyparse
+    chmod a-x tools/hipdnsproxy tools/hipdnskeyparse
 }
 
 help() {

Other related posts:

  • » [hipl-commit] [trunk] Rev 3527: A bug fix to 'make dist' rule - Miika Komu