summaryrefslogtreecommitdiff
path: root/offapi/util
diff options
context:
space:
mode:
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