view openoffice.make @ 6512:ccc20ae889ca default tip guix

mingw::guile-2.0.7 builds.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 24 Mar 2016 08:03:39 +0100
parents e2a2a17b4186
children
line wrap: on
line source

# -*-Makefile-*-
.PHONY: all default rest print-success
.PHONY: nsis openoffice openoffice-installers
default: all

OPENOFFICE_BRANCH="" #master&revision=207309ec6d428c6a6698db061efb670b36d5df5a
OPENOFFICE_REPO_URL=git://anongit.freedesktop.org/git/ooo-build/ooo-build

PLATFORMS=mingw

# derived info
OPENOFFICE_SOURCE_URL=$(OPENOFFICE_REPO_URL)?branch=$(OPENOFFICE_BRANCH)
OPENOFFICE_DIRRED_BRANCH=$(shell $(PYTHON) gub/repository.py --branch-dir '$(OPENOFFICE_SOURCE_URL)')
OPENOFFICE_FLATTENED_BRANCH=$(shell $(PYTHON) gub/repository.py --full-branch-name '$(OPENOFFICE_SOURCE_URL)')
BUILD_PACKAGE='$(OPENOFFICE_SOURCE_URL)'
INSTALL_PACKAGE = openoffice

MAKE += -f openoffice.make

INSTALLER_BUILDER_OPTIONS =\
 --branch=ooo-build=$(OPENOFFICE_FLATTENED_BRANCH)

include gub.make
include compilers.make

#all: packages rest
all: openoffice rest
rest: nsis openoffice-installers print-success

#avoid building native BUILD_PLATFORM
openoffice:
	$(call INVOKE_GUB,$(PLATFORMS)) openoffice

openoffice-installers:
	$(call INVOKE_INSTALLER_BUILDER,$(PLATFORMS)) $(INSTALL_PACKAGE)

nsis:
	bin/gub tools::nsis

print-success:
	@echo "success!!"
	@echo OpenOffice installer in uploads/openoffice*.mingw.exe