Simplify the manifest dance

This commit is contained in:
Tor Lillqvist
2011-09-22 15:35:11 +03:00
parent 69bd187a84
commit 8a915ad95f
5 changed files with 5 additions and 92 deletions

View File

@@ -77,6 +77,11 @@ $(eval $(call gb_Executable_add_noexception_objects,$(sofficebin),\
$(eval $(call gb_Package_Package,$(sofficebin),$(OUTDIR)/bin))
$(eval $(call gb_Package_add_file,$(sofficebin),bin/soffice.bin,$(sofficebin).exe))
ifeq ($(COM),MSC)
# also copy the manifest
$(eval $(call gb_Package_add_file,$(sofficebin),bin/soffice.bin.manifest,$(sofficebin).exe.manifest))
endif
endif
ifeq ($(OS),MACOSX)

View File

@@ -80,7 +80,6 @@ $(eval $(call gb_Module_add_targets,desktop,\
Executable_unoinfo \
Executable_unopkg \
Executable_unopkg.com \
Package_manifest \
Package_rcfile \
WinResTarget_quickstart \
WinResTarget_sbase \

View File

@@ -1,34 +0,0 @@
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2011 David Tardon, Red Hat Inc. <dtardon@redhat.com> (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,desktop_manifest,$(WORKDIR)/CustomTarget/desktop/util))
$(eval $(call gb_Package_add_customtarget,desktop_manifest,desktop/util,SRCDIR))
$(eval $(call gb_CustomTarget_add_outdir_dependencies,desktop/util,\
$(OUTDIR)/bin/soffice.bin \
))
# vim: set ts=4 sw=4 et:

View File

@@ -1,47 +0,0 @@
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2011 David Tardon, Red Hat Inc. <dtardon@redhat.com> (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
DESTDIR := $(WORKDIR)/CustomTarget/desktop/util
ifeq ($(COM),MSC)
$(DESTDIR)/linker.manifest : $(OUTDIR)/bin/soffice_bin.exe
mkdir -p $(DESTDIR) && mt.exe -inputresource:$< -out:$@
$(OUTDIR)/bin/soffice.bin.manifest : $(DESTDIR)/linker.manifest $(SRCDIR)/desktop/util/template.manifest
mkdir -p $(OUTDIR)/bin && mt.exe -manifest $^ -out:$@
else
$(OUTDIR)/bin/soffice.bin.manifest : $(SRCDIR)/desktop/util/template.manifest
mkdir -p $(OUTDIR)/bin && cp $^ $@
endif
.DEFAULT_TARGET := all
.PHONY : all
all : $(OUTDIR)/bin/soffice.bin.manifest
# vim: set ts=4 sw=4 noet:

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" processorArchitecture="x86" name="LibreOffice" type="win32" />
<description>http://www.documentfoundation.org</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*" processorArchitecture="x86"/>
</dependentAssembly>
</dependency>
</assembly>