From db9d34c3d944e51b14ce1fb1d8806a5bb1fbe2f5 Mon Sep 17 00:00:00 2001 From: Mikhail Voitenko Date: Sun, 10 Feb 2008 08:06:13 +0000 Subject: build the extension only when the variable is set --- .../src/registry/data/org/openoffice/Office/Custom/makefile.mk | 4 +++- swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'swext/mediawiki/src/registry/data/org/openoffice/Office') diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/makefile.mk b/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/makefile.mk index a92ad3986fba..b1a481508006 100644 --- a/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/makefile.mk +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/makefile.mk @@ -6,14 +6,16 @@ PACKAGE=org.openoffice.Office.Custom .INCLUDE : settings.mk .INCLUDE : ${PRJ}$/makefile.pmk + ABSXCSROOT=$(PWD)$/$(MISC)$/$(CUSTID) XCSROOT=$(MISC)$/$(CUSTID) +.IF "$(ENABLE_MEDIAWIKI)" == "YES" LOCALIZEDFILES= WikiExtension.xcu MODULEFILES= XCUFILES = WikiExtension.xcu +.ENDIF .INCLUDE : target.mk - diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk b/swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk index c0e4a8f65a25..1c83aa22f7f4 100644 --- a/swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk +++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/makefile.mk @@ -7,11 +7,13 @@ PACKAGE=org.openoffice.Office .INCLUDE : settings.mk .INCLUDE : ${PRJ}$/makefile.pmk +.IF "$(ENABLE_MEDIAWIKI)" == "YES" LOCALIZEDFILES= Addons.xcu OptionsDialog.xcu MODULEFILES= XCUFILES = Addons.xcu OptionsDialog.xcu ProtocolHandler.xcu +.ENDIF .INCLUDE : target.mk -- cgit