Kaydet (Commit) 514d69ef authored tarafından David Tardon's avatar David Tardon

put common vars into standalone makefile

Change-Id: Iab78a95bc8588b89fb10dc96b6c2c25e864fc1f4
üst 2283f76e
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
include $(SRCDIR)/sysui/productlist.mk
deb_WORKDIR := $(call gb_CustomTarget_get_workdir,sysui/deb) deb_WORKDIR := $(call gb_CustomTarget_get_workdir,sysui/deb)
deb_SRCDIR := $(SRCDIR)/sysui/desktop/debian deb_SRCDIR := $(SRCDIR)/sysui/desktop/debian
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
include $(SRCDIR)/sysui/productlist.mk
rpm_WORKDIR := $(call gb_CustomTarget_get_workdir,sysui/rpm) rpm_WORKDIR := $(call gb_CustomTarget_get_workdir,sysui/rpm)
rpm_SRCDIR := $(SRCDIR)/sysui/desktop rpm_SRCDIR := $(SRCDIR)/sysui/desktop
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
include $(SRCDIR)/sysui/productlist.mk
ifeq ($(ENABLE_GIO),TRUE) ifeq ($(ENABLE_GIO),TRUE)
brand_URIPARAM := --urls brand_URIPARAM := --urls
else else
...@@ -112,16 +114,6 @@ ULFS := documents.ulf \ ...@@ -112,16 +114,6 @@ ULFS := documents.ulf \
launcher_genericname.ulf \ launcher_genericname.ulf \
launcher_unityquicklist.ulf launcher_unityquicklist.ulf
PRODUCTLIST := libreoffice libreofficedev oxygenoffice
PKGVERSION := $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO)
PKGVERSIONSHORT := $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR)
PRODUCTNAME.libreoffice := LibreOffice
PRODUCTNAME.libreofficeodev := LibreOfficeDev
PRODUCTNAME.oxygenoffice := OxygenOffice
UNIXFILENAME.libreoffice := libreoffice$(PKGVERSIONSHORT)
UNIXFILENAME.libreofficedev := libreofficedev$(PKGVERSIONSHORT)
UNIXFILENAME.oxygenoffice := oxygenoffice$(PKGVERSIONSHORT)
$(eval $(call gb_CustomTarget_CustomTarget,sysui/share)) $(eval $(call gb_CustomTarget_CustomTarget,sysui/share))
$(eval $(call gb_CustomTarget_register_targets,sysui/share,\ $(eval $(call gb_CustomTarget_register_targets,sysui/share,\
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
include $(SRCDIR)/sysui/productlist.mk
slack_WORKDIR := $(call gb_CustomTarget_get_workdir,sysui/slackware) slack_WORKDIR := $(call gb_CustomTarget_get_workdir,sysui/slackware)
slack_SRCDIR := $(SRCDIR)/sysui/desktop/slackware slack_SRCDIR := $(SRCDIR)/sysui/desktop/slackware
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
include $(SRCDIR)/sysui/productlist.mk
solaris_WORKDIR := $(call gb_CustomTarget_get_workdir,sysui/solaris) solaris_WORKDIR := $(call gb_CustomTarget_get_workdir,sysui/solaris)
solaris_SRCDIR := $(SRCDIR)/sysui/desktop/solaris solaris_SRCDIR := $(SRCDIR)/sysui/desktop/solaris
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
include $(SRCDIR)/sysui/productlist.mk
$(eval $(call gb_Package_Package,desktop,$(WORKDIR)/CustomTarget)) $(eval $(call gb_Package_Package,desktop,$(WORKDIR)/CustomTarget))
ifneq ($(filter deb,$(PKGFORMAT)),) ifneq ($(filter deb,$(PKGFORMAT)),)
......
# -*- 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/.
#
PRODUCTLIST := libreoffice libreofficedev oxygenoffice
PKGVERSION := $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO)
PKGVERSIONSHORT := $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR)
PRODUCTNAME.libreoffice := LibreOffice
PRODUCTNAME.libreofficeodev := LibreOfficeDev
PRODUCTNAME.oxygenoffice := OxygenOffice
UNIXFILENAME.libreoffice := $(PRODUCTNAMELC.libreoffice)$(PKGVERSIONSHORT)
UNIXFILENAME.libreofficedev := $(PRODUCTNAMELC.libreofficedev)$(PKGVERSIONSHORT)
UNIXFILENAME.oxygenoffice := $(PRODUCTNAMELC.oxygenoffice)$(PKGVERSIONSHORT)
# 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