Kaydet (Commit) 5503a683 authored tarafından Michael Stahl's avatar Michael Stahl

cli_ure: remove CLI version Packages

Tweak the installer so it reads the included files from SRCDIR.

Change-Id: Ic4d3d2c003c2d0c5aebea6dd32f5989f3d4f04e4
üst 3df5304a
......@@ -9,10 +9,6 @@
$(eval $(call gb_Module_Module,cli_ure))
$(eval $(call gb_Module_add_targets,cli_ure,\
Package_version \
))
ifeq ($(COM),MSC)
$(eval $(call gb_Module_add_targets,cli_ure,\
CliLibrary_cli_basetypes \
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,cli_ure_version,$(SRCDIR)/cli_ure/version))
$(eval $(call gb_Package_set_outdir,cli_ure_version,$(OUTDIR)))
$(eval $(call gb_Package_add_file,cli_ure_version,bin/cliureversion.mk,version.txt))
# vim: set noet sw=4 ts=4:
......@@ -55,7 +55,7 @@ LibreOffice
BASEPRODUCTVERSION @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@
PCPFILENAME libreoffice.pcp
UPDATEURL http://update.libreoffice.org/check.php
ADD_INCLUDE_FILES cliureversion.mk,clioootypesversion.mk
ADD_INCLUDE_FILES cli_ure/version/version.txt,unoil/climaker/version.txt
ADDSYSTEMINTEGRATION 1
PACKAGEVERSION @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@@LIBO_VERSION_SUFFIX@
PACKAGEREVISION {buildid}
......@@ -106,7 +106,7 @@ LibreOffice_Dev
SOLSUREPACKAGEPREFIX libreofficedev
REGISTRYLAYERNAME LayerDev
UPDATEURL http://update.libreoffice.org/check.php
ADD_INCLUDE_FILES cliureversion.mk,clioootypesversion.mk
ADD_INCLUDE_FILES cli_ure/version/version.txt,unoil/climaker/version.txt
ADDSYSTEMINTEGRATION 1
PACKAGEVERSION @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@@LIBO_VERSION_SUFFIX@
PACKAGEREVISION {buildid}
......
......@@ -542,13 +542,13 @@ sub add_variables_from_inc_to_hashref
{
$includefilename =~ s/^\s*//;
$includefilename =~ s/\s*$//;
$includefilenameref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$includefilename, $includepatharrayref, 1);
if ( $$includefilenameref eq "" ) { installer::exiter::exit_program("Include file $includefilename not found!\nADD_INCLUDE_FILES = $allvariables->{'ADD_INCLUDE_FILES'}", "add_variables_from_inc_to_hashref"); }
$includefilenameref = $ENV{'SRCDIR'} . "/" . $includefilename;
if ( ! -f $includefilenameref ) { installer::exiter::exit_program("Include file $includefilename ($includefilenameref) not found!\nADD_INCLUDE_FILES = $allvariables->{'ADD_INCLUDE_FILES'}", "add_variables_from_inc_to_hashref"); }
$infoline = "Including inc file: $$includefilenameref \n";
$infoline = "Including inc file: $includefilenameref \n";
push( @installer::globals::globallogfileinfo, $infoline);
my $includefile = installer::files::read_file($$includefilenameref);
my $includefile = installer::files::read_file($includefilenameref);
for ( my $j = 0; $j <= $#{$includefile}; $j++ )
{
......
......@@ -9,10 +9,6 @@
$(eval $(call gb_Module_Module,unoil))
$(eval $(call gb_Module_add_targets,unoil,\
Package_clioootypesversion \
))
ifneq ($(ENABLE_JAVA),)
$(eval $(call gb_Module_add_targets,unoil,\
CustomTarget_javamaker \
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,unoil_clioootypesversion,$(SRCDIR)/unoil/climaker))
$(eval $(call gb_Package_set_outdir,unoil_clioootypesversion,$(OUTDIR)))
$(eval $(call gb_Package_add_file,unoil_clioootypesversion,bin/clioootypesversion.mk,version.txt))
# vim:set noet sw=4 ts=4:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment