[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] build: consolidate buildmakevars2file
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxxxx> # Date 1311080988 -3600 # Node ID 0ccb94d533d6feaece5d48eb1bbfb9ae1b6174c1 # Parent 43f7bdbe47d3f1a5312f5cb50cb0f18c83dbcc76 build: consolidate buildmakevars2file Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> --- diff -r 43f7bdbe47d3 -r 0ccb94d533d6 Config.mk --- a/Config.mk Tue Jul 19 08:24:19 2011 +0100 +++ b/Config.mk Tue Jul 19 14:09:48 2011 +0100 @@ -132,18 +132,12 @@ define buildmakevars2file-closure .PHONY: genpath genpath: - rm -f $(1).tmp; \ - echo "SBINDIR=\"$(SBINDIR)\"" >> $(1).tmp; \ - echo "BINDIR=\"$(BINDIR)\"" >> $(1).tmp; \ - echo "LIBEXEC=\"$(LIBEXEC)\"" >> $(1).tmp; \ - echo "LIBDIR=\"$(LIBDIR)\"" >> $(1).tmp; \ - echo "SHAREDIR=\"$(SHAREDIR)\"" >> $(1).tmp; \ - echo "PRIVATE_BINDIR=\"$(PRIVATE_BINDIR)\"" >> $(1).tmp; \ - echo "XENFIRMWAREDIR=\"$(XENFIRMWAREDIR)\"" >> $(1).tmp; \ - echo "XEN_CONFIG_DIR=\"$(XEN_CONFIG_DIR)\"" >> $(1).tmp; \ - echo "XEN_SCRIPT_DIR=\"$(XEN_SCRIPT_DIR)\"" >> $(1).tmp; \ - echo "XEN_LOCK_DIR=\"$(XEN_LOCK_DIR)\"" >> $(1).tmp; \ - echo "XEN_RUN_DIR=\"$(XEN_RUN_DIR)\"" >> $(1).tmp; \ + rm -f $(1).tmp; \ + $(foreach var, \ + SBINDIR BINDIR LIBEXEC LIBDIR SHAREDIR PRIVATE_BINDIR \ + XENFIRMWAREDIR XEN_CONFIG_DIR XEN_SCRIPT_DIR XEN_LOCK_DIR \ + XEN_RUN_DIR, \ + echo "$(var)=\"$(DESTDIR)$($(var))\"" >>$(1).tmp;) \ $(call move-if-changed,$(1).tmp,$(1)) endef _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |