summaryrefslogtreecommitdiff
path: root/offapi/util
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-03-09 09:43:53 +0000
committerRüdiger Timm <rt@openoffice.org>2006-03-09 09:43:53 +0000
commit36e55b1beed88c23da9aa3459dacc0430aec8697 (patch)
tree73d4fa8e45b7e31b00eabf74bd185dfbbbecefea /offapi/util
parentbbdd3fe352b320e7183ae18449e15ac517269b55 (diff)
INTEGRATION: CWS jl31 (1.93.10); FILE MERGED
2006/02/17 14:58:20 jsc 1.93.10.1: #i62141# insert new target for UNO type statistics
Diffstat (limited to 'offapi/util')
-rw-r--r--offapi/util/makefile.mk15
1 files changed, 12 insertions, 3 deletions
diff --git a/offapi/util/makefile.mk b/offapi/util/makefile.mk
index 45a6f571428d..6ebf74b8f177 100644
--- a/offapi/util/makefile.mk
+++ b/offapi/util/makefile.mk
@@ -4,9 +4,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.93 $
+# $Revision: 1.94 $
#
-# last change: $Author: kz $ $Date: 2006-01-31 18:25:38 $
+# last change: $Author: rt $ $Date: 2006-03-09 10:43:53 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -136,11 +136,15 @@ REFERENCE_RDB=$(PRJ)$/type_reference$/types.rdb
REGISTRYCHECKFLAG=$(MISC)$/registrycheck.flag
+UNOTYPE_STATISTICS=$(MISC)$/unotype_statistics.txt
+
+
# --- Targets ------------------------------------------------------
ALLTAR : $(UCR)$/types.db \
$(OUT)$/ucrdoc$/types_doc.db \
- $(REGISTRYCHECKFLAG)
+ $(REGISTRYCHECKFLAG) \
+ $(UNOTYPE_STATISTICS)
$(UCR)$/types.db : $(UCR)$/offapi.db $(SOLARBINDIR)$/udkapi.rdb
+-$(RM) $(REGISTRYCHECKFLAG)
@@ -162,4 +166,9 @@ $(REGISTRYCHECKFLAG) : $(UCR)$/types.db $(OUT)$/ucrdoc$/types_doc.db
+$(REGCOMPARE) -f -t -r1 $(REFERENCE_RDB) -r2 $(UCR)$/types.db \
&& echo > $(REGISTRYCHECKFLAG)
+#JSC: new target to prepare some UNO type statistics, the ouput will be later used
+# for versioning of UNO cli type libraries
+$(UNOTYPE_STATISTICS) : $(REGISTRYCHECKFLAG)
+ +$(PERL) checknewapi.pl $(UCR)$/types.db $(REFERENCE_RDB) "$(RSCREVISION)" > $@
+
.INCLUDE : target.mk