2003-06-10 04:48:38 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-10 10:58:32 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 08:01:35 -06:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2003-06-10 04:48:38 -05:00
|
|
|
#
|
2008-04-10 10:58:32 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2003-06-10 04:48:38 -05:00
|
|
|
#
|
2008-04-10 10:58:32 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2003-06-10 04:48:38 -05:00
|
|
|
#
|
2008-04-10 10:58:32 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2003-06-10 04:48:38 -05:00
|
|
|
#
|
2008-04-10 10:58:32 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2003-06-10 04:48:38 -05:00
|
|
|
#
|
2008-04-10 10:58:32 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2003-06-10 04:48:38 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
2001-01-16 04:39:44 -06:00
|
|
|
PRJ=..$/..
|
|
|
|
PRJNAME=odk
|
|
|
|
TARGET=checkinc
|
|
|
|
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
.INCLUDE: settings.mk
|
|
|
|
.INCLUDE: $(PRJ)$/util$/makefile.pmk
|
|
|
|
#----------------------------------------------------------------
|
2009-09-16 06:45:54 -05:00
|
|
|
.IF "$(L10N_framework)"==""
|
2001-01-19 07:36:06 -06:00
|
|
|
ODKCHECKFILE=$(MISC)$/$(TARGET).txt
|
2001-01-16 04:39:44 -06:00
|
|
|
|
2003-08-27 10:47:47 -05:00
|
|
|
all : $(ODKCHECKFILE)
|
2001-01-16 04:39:44 -06:00
|
|
|
|
2003-08-27 10:47:47 -05:00
|
|
|
$(ODKCHECKFILE) : $(SDK_CONTENT_CHECK_FILES)
|
2007-01-25 05:28:24 -06:00
|
|
|
@echo "" > $(ODKCHECKFILE)
|
2001-01-19 07:36:06 -06:00
|
|
|
# THE PERL SCRIPT DELETES THE CHECK FILE, WHEN AN ERROR OCCURS
|
2006-07-05 15:53:47 -05:00
|
|
|
-diff -br $(DESTDIRINC)$/osl $(SOLARINCDIR)$/osl $(PIPEERROR) $(PERL) $(PRJ)$/util$/checkdiff.pl $(ODKCHECKFILE)
|
|
|
|
-diff -br $(DESTDIRINC)$/rtl $(SOLARINCDIR)$/rtl $(PIPEERROR) $(PERL) $(PRJ)$/util$/checkdiff.pl $(ODKCHECKFILE)
|
|
|
|
-diff -br $(DESTDIRINC)$/sal $(SOLARINCDIR)$/sal $(PIPEERROR) $(PERL) $(PRJ)$/util$/checkdiff.pl $(ODKCHECKFILE)
|
|
|
|
-diff -br $(DESTDIRINC)$/store $(SOLARINCDIR)$/store $(PIPEERROR) $(PERL) $(PRJ)$/util$/checkdiff.pl $(ODKCHECKFILE)
|
2001-01-19 07:36:06 -06:00
|
|
|
# RAISE AN ERROR WHEN TAG FILE IS NOT THERE ANYMORE
|
2002-07-01 10:00:34 -05:00
|
|
|
cat $(ODKCHECKFILE)
|
2009-09-16 06:45:54 -05:00
|
|
|
.ELSE
|
|
|
|
pseudo:
|
|
|
|
|
|
|
|
.ENDIF
|