[hipl-commit] [trunk] Rev 3913: Fix 'make dist' with out-of-tree builds.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 10 Mar 2010 18:27:36 +0200

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: Wed Mar 10 17:26:53 2010 +0100
Revision: 3913
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Fix 'make dist' with out-of-tree builds.
  When the $(wildcard) Make function is (mis)used to generate lists of files
  to include in dist tarballs it is necessary to specify the full path to
  those files, i.e. to prefix them with the source path.

Modified:
  M  Makefile.am

=== modified file 'Makefile.am'
--- Makefile.am 2010-03-10 15:29:57 +0000
+++ Makefile.am 2010-03-10 16:26:53 +0000
@@ -1,6 +1,6 @@
 ACLOCAL_AMFLAGS  = -I m4
 
-HIPL_HEADER_LIST = $(wildcard agent/*.h firewall/*.h hipd/*.h i3/*/*.h 
lib/*/*.h test/*.h)
+HIPL_HEADER_LIST = $(wildcard $(addprefix $(srcdir)/,agent/*.h firewall/*.h 
hipd/*.h i3/*/*.h lib/*/*.h test/*.h))
 
 # For "make dist"
 #

Other related posts:

  • » [hipl-commit] [trunk] Rev 3913: Fix 'make dist' with out-of-tree builds. - Diego Biurrun