summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lackey <tlackey@redhat.com>2005-05-13 19:21:47 +0000
committerThomas Lackey <tlackey@redhat.com>2005-05-13 19:21:47 +0000
commita9e7dafa758d082296ad1495800ae0c5d70313f5 (patch)
tree47214131a5fa1260cce4a6e8a40c1e6b12d7503c
parent1a9ceaaec49b207f13a499584f637c420af75499 (diff)
downloadds-a9e7dafa758d082296ad1495800ae0c5d70313f5.tar.gz
ds-a9e7dafa758d082296ad1495800ae0c5d70313f5.tar.xz
ds-a9e7dafa758d082296ad1495800ae0c5d70313f5.zip
Add WiX component information.
-rw-r--r--components.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/components.mk b/components.mk
index 49cd3094..43c9a420 100644
--- a/components.mk
+++ b/components.mk
@@ -491,6 +491,36 @@ endif
#################################################
# User Sync Components
#################################################
+
+# WIX MSI Tool kit #####################
+WIX = wix-$(WIX_VERSION).zip
+WIX_DEST = $(NSCP_DISTDIR_FULL_RTL)/wix
+WIX_FILE = $(WIX_DEST)/$(WIX)
+WIX_FILES = $(WIX)
+WIX_RELEASE = $(COMPONENTS_DIR)/wix
+WIX_DIR = $(WIX_RELEASE)/$(WIX_VERSION)
+WIX_DEP = $(WIX_FILE)
+WIX_REL_DIR=$(subst -bin,,$(subst .zip,,$(WIX)))
+
+ifndef WIX_PULL_METHOD
+WIX_PULL_METHOD = $(COMPONENT_PULL_METHOD)
+endif
+
+$(WIX_DEP): $(NSCP_DISTDIR_FULL_RTL)
+ifeq ($(ARCH), WINNT)
+ifdef COMPONENT_DEPS
+ echo "Inside ftppull"
+ $(FTP_PULL) -method $(COMPONENT_PULL_METHOD) \
+ -objdir $(WIX_DEST) -componentdir $(WIX_DIR) \
+ -files $(WIX_FILES) -unzip $(WIX_DEST)
+endif
+ -@if [ ! -f $@ ] ; \
+ then echo "Error: could not get component WIX files $@" ; \
+ fi
+else
+ -@echo "WIX is not required except on Windows."
+endif #WINNT
+
# java service wrapper for Password Sync #####################
WRAPPER = wrapper_win32_$(WRAPPER_VERSION).zip
WRAPPER_DEST = $(NSCP_DISTDIR_FULL_RTL)/wrapper