summaryrefslogtreecommitdiff
path: root/solenv/inc/tg_srs.mk
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-11-08 11:04:23 +0000
committerKurt Zenker <kz@openoffice.org>2006-11-08 11:04:23 +0000
commitd381cbe5d30dada69cfe3865d06afece655b0aff (patch)
tree47d1c42a2add2f0e89d299e921bb22fcc6275728 /solenv/inc/tg_srs.mk
parent842bac4ed0dcb14855e99057c74e2068470f2e6d (diff)
INTEGRATION: CWS ause070 (1.20.132); FILE MERGED
2006/10/18 15:24:32 hjs 1.20.132.3: #i70136# change check to work with configure default 2006/10/10 16:24:23 hjs 1.20.132.2: RESYNC: (1.20-1.21); FILE MERGED 2006/10/05 16:12:14 hjs 1.20.132.1: #i70136# avoid merge if not needed
Diffstat (limited to 'solenv/inc/tg_srs.mk')
-rw-r--r--solenv/inc/tg_srs.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/solenv/inc/tg_srs.mk b/solenv/inc/tg_srs.mk
index 7c35c7a12c70..57c96570e857 100644
--- a/solenv/inc/tg_srs.mk
+++ b/solenv/inc/tg_srs.mk
@@ -4,9 +4,9 @@
#
# $RCSfile: tg_srs.mk,v $
#
-# $Revision: 1.21 $
+# $Revision: 1.22 $
#
-# last change: $Author: kz $ $Date: 2006-10-05 16:22:10 $
+# last change: $Author: kz $ $Date: 2006-11-08 12:04:23 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -57,6 +57,7 @@ $(MISC)$/$(PWD:f).$(SRS$(TNR)NAME).dprr: $(SRC$(TNR)FILES) $(HIDSRS$(TNR)PARTICL
+-$(RM) $(MISC)$/$(PWD:f).$(SRS$(TNR)NAME).dprr >& $(NULLDEV)
+$(RSC) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ) -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)$/$(SRS$(TNR)NAME).srs} -fo=$@ $(SRC$(TNR)FILES)
+.IF "$(WITH_LANG)"!=""
$(foreach,i,$(SRC$(TNR)FILES) $(COMMONMISC)$/$(TARGET)$/$i) : $$(@:f) localize.sdf
-$(MKDIR) $(@:d)
+-$(RM) $@
@@ -65,13 +66,16 @@ $(foreach,i,$(SRC$(TNR)FILES) $(COMMONMISC)$/$(TARGET)$/$i) : $$(@:f) localize.s
+-$(RM) $@.$(INPATH)
$(SRS)$/$(SRS$(TNR)NAME).srs: $(foreach,i,$(SRC$(TNR)FILES) $(COMMONMISC)$/$(TARGET)$/$i)
+.ELSE # "$(WITH_LANG)"!=""
+$(SRS)$/$(SRS$(TNR)NAME).srs: $(SRC$(TNR)FILES)
+.ENDIF # "$(WITH_LANG)"!=""
@echo ------------------------------
@echo Making: $@
+$(RSC) -presponse @$(mktmp \
$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
-fp=$@.$(INPATH) \
- $(foreach,i,$(SRC$(TNR)FILES) $(COMMONMISC)$/$(TARGET)$/$i) \
+ $< \
)
+-$(RM) $@
+$(RENAME) $@.$(INPATH) $@