* [PATCH] Fix tools makefile to properly check for external tools
@ 2005-10-04 18:46 Jerone Young
2005-10-04 19:04 ` Jerone Young
0 siblings, 1 reply; 3+ messages in thread
From: Jerone Young @ 2005-10-04 18:46 UTC (permalink / raw)
To: xen-devel
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Fix tools makefile so that extrnal tools checks are run to ensure
extrnal tools are actually installed.
diff -r 00037ba13f0b -r cc75d51355cb tools/Makefile
--- a/tools/Makefile Tue Oct 4 17:23:58 2005
+++ b/tools/Makefile Tue Oct 4 16:28:18 2005
@@ -33,7 +33,7 @@
done
$(MAKE) ioemu
-install: check
+install: check_install
@set -e; for subdir in $(SUBDIRS); do \
$(MAKE) -C $$subdir $@; \
done
@@ -48,6 +48,9 @@
check:
$(MAKE) -C check
+check_install:
+ $(MAKE) -C check install
+
check_clean:
$(MAKE) -C check clean
--
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix tools makefile to properly check for external tools
2005-10-04 18:46 [PATCH] Fix tools makefile to properly check for external tools Jerone Young
@ 2005-10-04 19:04 ` Jerone Young
2005-10-04 19:15 ` Nivedita Singhvi
0 siblings, 1 reply; 3+ messages in thread
From: Jerone Young @ 2005-10-04 19:04 UTC (permalink / raw)
To: xen-devel
Ok ,thinking about the comment in tools/check/Makefile is so that one
could install stuff in "dist" directory. But our networking scripts have
no checks at all to see if (for example) "brctl" is even there...it just
silently installs. So given this when would one check that we have
everything need installed. Also I will submit a patch to add a check to
the network script to see if the tools are actually on the system.
On Tue, 2005-10-04 at 13:46 -0500, Jerone Young wrote:
> Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
>
> Fix tools makefile so that extrnal tools checks are run to ensure
> extrnal tools are actually installed.
>
> diff -r 00037ba13f0b -r cc75d51355cb tools/Makefile
> --- a/tools/Makefile Tue Oct 4 17:23:58 2005
> +++ b/tools/Makefile Tue Oct 4 16:28:18 2005
> @@ -33,7 +33,7 @@
> done
> $(MAKE) ioemu
>
> -install: check
> +install: check_install
> @set -e; for subdir in $(SUBDIRS); do \
> $(MAKE) -C $$subdir $@; \
> done
> @@ -48,6 +48,9 @@
> check:
> $(MAKE) -C check
>
> +check_install:
> + $(MAKE) -C check install
> +
> check_clean:
> $(MAKE) -C check clean
>
>
--
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix tools makefile to properly check for external tools
2005-10-04 19:04 ` Jerone Young
@ 2005-10-04 19:15 ` Nivedita Singhvi
0 siblings, 0 replies; 3+ messages in thread
From: Nivedita Singhvi @ 2005-10-04 19:15 UTC (permalink / raw)
To: Jerone Young; +Cc: xen-devel
Jerone Young wrote:
> Ok ,thinking about the comment in tools/check/Makefile is so that one
> could install stuff in "dist" directory. But our networking scripts have
> no checks at all to see if (for example) "brctl" is even there...it just
> silently installs. So given this when would one check that we have
> everything need installed. Also I will submit a patch to add a check to
> the network script to see if the tools are actually on the system.
Hi Jerone,
I had a patch that did that a while ago, but the feeling at
the time was that it wasn't the right place - it should be in
a make check or some top level script (?).
It's not just that script, it's all the rest, too. The con was
that somethings you can't roll back from (previous scripts),
and so even putting them at the top of each script wasn't
sufficient.
thanks,
Nivedita
> On Tue, 2005-10-04 at 13:46 -0500, Jerone Young wrote:
>
>>Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
>>
>>Fix tools makefile so that extrnal tools checks are run to ensure
>>extrnal tools are actually installed.
>>
>>diff -r 00037ba13f0b -r cc75d51355cb tools/Makefile
>>--- a/tools/Makefile Tue Oct 4 17:23:58 2005
>>+++ b/tools/Makefile Tue Oct 4 16:28:18 2005
>>@@ -33,7 +33,7 @@
>> done
>> $(MAKE) ioemu
>>
>>-install: check
>>+install: check_install
>> @set -e; for subdir in $(SUBDIRS); do \
>> $(MAKE) -C $$subdir $@; \
>> done
>>@@ -48,6 +48,9 @@
>> check:
>> $(MAKE) -C check
>>
>>+check_install:
>>+ $(MAKE) -C check install
>>+
>> check_clean:
>> $(MAKE) -C check clean
>>
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-10-04 19:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-04 18:46 [PATCH] Fix tools makefile to properly check for external tools Jerone Young
2005-10-04 19:04 ` Jerone Young
2005-10-04 19:15 ` Nivedita Singhvi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.