office-gobmx/odk/Package_share_readme.mk
Michael Stahl fa424af27e readlicense_oo: stop delivering files to OUTDIR
- remove Package_readme, use generated files from WORKDIR via include
  path
- Package_license and Package_files deliver to INSTDIR
- split up Package_odk_shared_readme to have extra Package for
  generated files
- gb_Extension_LICENSEFILE_DEFAULT points to INSTDIR

Change-Id: I019d3431e30d982e887ae0000c755e0d61f98893
2013-10-31 10:42:24 +01:00

23 lines
794 B
Makefile

# -*- 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,odk_share_readme,$(SRCDIR)))
$(eval $(call gb_Package_set_outdir,odk_share_readme,$(INSTDIR)))
$(eval $(call gb_Package_add_files,odk_share_readme,$(SDKDIRNAME)/share/readme,\
readlicense_oo/html/LICENSE.html \
))
ifneq ($(OS),WNT)
# the stupid thing is renamed, see Package_files.mk
$(eval $(call gb_Package_add_file,odk_share_readme,$(SDKDIRNAME)/share/readme/LICENSE,readlicense_oo/txt/license.txt))
endif
# vim: set noet sw=4 ts=4: