summaryrefslogtreecommitdiff
path: root/odk/pack/checkbin
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-01-19 13:36:06 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-01-19 13:36:06 +0000
commit998899c17f78628a3aed5d7ba3c7ec463b728e2a (patch)
tree11e8f6f227dc0a3b4f74571b7a205a8fcf7efc41 /odk/pack/checkbin
parentcf6992ae967730db166e829c30adb4a1ebd04e06 (diff)
#82295# comparison works now on all platforms
Diffstat (limited to 'odk/pack/checkbin')
-rw-r--r--odk/pack/checkbin/makefile.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/odk/pack/checkbin/makefile.mk b/odk/pack/checkbin/makefile.mk
index b1822342946f..b90016d4d879 100644
--- a/odk/pack/checkbin/makefile.mk
+++ b/odk/pack/checkbin/makefile.mk
@@ -6,10 +6,14 @@ TARGET=checkbin
.INCLUDE: settings.mk
.INCLUDE: $(PRJ)$/util$/makefile.pmk
#----------------------------------------------------------------
-ODKCHECKFILE=..$/misc$/$(TARGET).txt
+ODKCHECKFILE=$(MISC)$/$(TARGET).txt
all: checkit
checkit:
- diff -r $(DESTDIRBIN) $(SOLARBINDIR) |& $(PERL) $(PRJ)$/util$/checkdiff.pl
- diff -r $(DESTDIRLIB) $(SOLARLIBDIR) |& $(PERL) $(PRJ)$/util$/checkdiff.pl
+ +touch $(ODKCHECKFILE)
+# THE PERL SCRIPT DELETES THE CHECK FILE, WHEN AN ERROR OCCURS
+ -diff -r $(DESTDIRBIN) $(SOLARBINDIR) |& $(PERL) $(PRJ)$/util$/checkdiff.pl $(ODKCHECKFILE)
+ -diff -r $(DESTDIRLIB) $(SOLARLIBDIR) |& $(PERL) $(PRJ)$/util$/checkdiff.pl $(ODKCHECKFILE)
+# RAISE AN ERROR WHEN TAG FILE IS NOT THERE ANYMORE
+ cat $(ODKCHECKFILE) \ No newline at end of file