ICU-7628 Fix race condition in uconv Makefile

X-SVN-Rev: 29657
This commit is contained in:
Michael Ow 2011-03-15 19:37:00 +00:00
parent 66e22eaea3
commit fd16ddb927

View File

@ -1,6 +1,6 @@
## ******************************************************************************
## *
## * Copyright (C) 1999-2009, International Business Machines
## * Copyright (C) 1999-2011, International Business Machines
## * Corporation and others. All Rights Reserved.
## *
## *******************************************************************************
@ -147,7 +147,7 @@ $(UCONVMSG_LIB): resfiles
endif
package-resfiles: $(RESDIR)/$(RESDIR).lst pkgdata.inc
package-resfiles: $(RESFILES) $(RESDIR)/$(RESDIR).lst pkgdata.inc
$(INVOKE) $(PKGDATA_INVOKE_OPTS) $(TOOLBINDIR)/pkgdata -p $(MSGNAME) $(PKGDATA_OPTS) -m $(PKGMODE) -s $(RESDIR) -d $(RESDIR) -T $(RESDIR) $(RESDIR)/$(RESDIR).lst
$(RESDIR)/$(RESDIR).lst: Makefile $(srcdir)/resfiles.mk
@ -159,7 +159,7 @@ $(RESDIR)/$(RESDIR).lst: Makefile $(srcdir)/resfiles.mk
# no install for static mode
ifneq ($(UCONVMSG_MODE),static)
install-resfiles: $(RESFILES)
install-resfiles: $(RESFILES) $(RESDIR)/$(RESDIR).lst pkgdata.inc
$(MKINSTALLDIRS) $(DESTDIR)$(ICUDATA_DIR)
$(INVOKE) $(TOOLBINDIR)/pkgdata -p $(RESDIR) -O pkgdata.inc -m $(PKGMODE) -d $(RESDIR) -I $(INSTALLTO) -T $(RESDIR) $(RESDIR)/$(RESDIR).lst
else