[mm-common] Handle multiple make targets correctly
- From: Daniel Elstner <daniel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mm-common] Handle multiple make targets correctly
- Date: Thu, 6 Aug 2009 09:30:45 +0000 (UTC)
commit ce360da0551d45039c80b5ac9a390c4e5f671db9
Author: Daniel Elstner <danielk openismus com>
Date: Thu Aug 6 11:25:49 2009 +0200
Handle multiple make targets correctly
* Makefile.am (check_updates): Modify the conditional expression so
that it will trigger the update if any of the make targets specified
on the command line starts with "all".
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 759e47d..43c97e1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -62,7 +62,7 @@ download_wget = $(WGET) -N -nd -T 300 -t 5 -P '$(@D)'
# If maintainer mode is enabled, always check the remote locations
# of the tag files for updates when building the default target.
if MAINTAINER_MODE
-check_updates = $(if $(MAKECMDGOALS:all%=),,$(dist_doxygen_tags_DATA))
+check_updates = $(if $(filter all%,$(or $(MAKECMDGOALS),all)),$(dist_doxygen_tags_DATA))
else
check_updates =
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]