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

[libvirt] [PATCH] don't assume builddir == srcdir



Hi,
Makefile.maint assumes this in some places. This doesn't make the world
perfect but maybe a bit better?
Cheers,
 -- Guido
>From 939b70aa67e93e106d77accd51f5cc4ff9c6cdca Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Guido=20G=C3=BCnther?= <agx sigxcpu org>
Date: Sat, 13 Dec 2008 00:17:16 +0100
Subject: [PATCH] don't assume $(builddir) == $(srcdir)

---
 Makefile.maint |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.maint b/Makefile.maint
index fda15db..117e43b 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -8,10 +8,10 @@ gzip_rsyncable := \
   $(shell gzip --help 2>/dev/null|grep rsyncable >/dev/null && echo --rsyncable)
 GZIP_ENV = '--no-name --best $(gzip_rsyncable)'
 
-VC_LIST = build-aux/vc-list-files
+VC_LIST = $(top_srcdir)/build-aux/vc-list-files
 
 VC_LIST_EXCEPT = \
-  $(VC_LIST) | if test -f .x-$@; then grep -vEf .x-$@; else grep -v ChangeLog; fi
+  $(VC_LIST) -C $(top_srcdir) | if test -f .x-$@; then grep -vEf .x-$@; else grep -v ChangeLog; fi
 
 # Prevent programs like 'sort' from considering distinct strings to be equal.
 # Doing it here saves us from having to set LC_ALL elsewhere in this file.
@@ -470,7 +470,7 @@ changelog-check:
 	fi
 
 m4-check:
-	@grep -n 'AC_DEFUN([^[]' m4/*.m4 \
+	@grep -n 'AC_DEFUN([^[]' $(top_srcdir)/m4/*.m4 \
 	  && { echo 'Makefile.maint: quote the first arg to AC_DEFUN' 1>&2; \
 	       exit 1; } || :
 
-- 
1.6.0.2


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