diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2008-02-10 08:06:13 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2008-02-10 08:06:13 +0000 |
commit | db9d34c3d944e51b14ce1fb1d8806a5bb1fbe2f5 (patch) | |
tree | 92eb0a6f494fdd620ce9bca96368f27ce596ba20 /swext/mediawiki | |
parent | 3f589cc777a0614ecb7e71db09109f0b64728691 (diff) |
build the extension only when the variable is set
Diffstat (limited to 'swext/mediawiki')
3 files changed, 7 insertions, 1 deletions
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 diff --git a/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk b/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk index b54f6c5d51e2..6a1190e7b53b 100644 --- a/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk +++ b/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/makefile.mk @@ -7,11 +7,13 @@ PACKAGE=org.openoffice.Office.Custom .INCLUDE : settings.mk .INCLUDE : ${PRJ}$/makefile.pmk +.IF "$(ENABLE_MEDIAWIKI)" == "YES" LOCALIZEDFILES= MODULEFILES= XCSFILES = WikiExtension.xcs +.ENDIF .INCLUDE : target.mk |