-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
-include ../../fhsbundle.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
-include ../../fhsbundle.make
MainUI \
PreferencesUI \
Scheduler \
- Templates
+ Templates \
+ WebServerResources
include $(GNUSTEP_MAKEFILES)/aggregate.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
-include ../../fhsbundle.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
-include ../../fhsbundle.make
# GNUstep makefile
--include ../common.make
+include ../common.make
BUNDLE_NAME = MainUI
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
-include ../../fhsbundle.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
-include ../../fhsbundle.make
-
-
# GNUstep makefile
--include ../../config.make
+include ../../config.make
include $(GNUSTEP_MAKEFILES)/common.make
-SOPE_VERSION = 4.7
-
BUNDLE_NAME = SOGoElements
BUNDLE_EXTENSION = .wox
-BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/WOxElemBuilders-$(SOPE_VERSION)/
+BUNDLE_INSTALL_DIR = $(SOPE_WOXBUILDERS)
SOGoElements_PRINCIPAL_CLASS = SOGoElementsBundle
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
--include fhs.make
libSOGoUI_HEADER_FILES_DIR = .
libSOGoUI_HEADER_FILES_INSTALL_DIR = /SOGoUI
-FHS_HEADER_DIRS = SOGoUI
+libSOGoUI_INTERFACE_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION)
+libSOGoUI_INSTALL_DIR=$(SOGO_SYSLIBDIR)
libSOGoUI_HEADER_FILES += \
\
# make
-include GNUmakefile.preamble
+ifneq ($(FHS_INSTALL_ROOT),)
+GNUSTEP_HEADERS=$(DESTDIR)$(FHS_INSTALL_ROOT)/include
+endif
include $(GNUSTEP_MAKEFILES)/library.make
-include GNUmakefile.postamble
--include ../../fhslib.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
-include ../../fhsbundle.make
# GNUstep makefile
+include ../common.make
+
XMLLINT = xmllint
XMLLINT-BIN = $(shell which $(XMLLINT))
ifeq ($(XMLLINT-BIN),)
endif
WOXS = $(shell find . -name '*.wox' -type f)
+TEMPLATE_FILES = $(shell ls *wox)
+TEMPLATE_DIRS = ContactsUI \
+ MailPartViewers \
+ MailerUI \
+ MainUI \
+ PreferencesUI \
+ SchedulerUI
validate-wox:
for wox in $(WOXS); \
done;
install ::
+ mkdir -p ${SOGO_TEMPLATESDIR}
+ for TEMPLATE in $(TEMPLATE_FILES); do \
+ cp $$TEMPLATE ${SOGO_TEMPLATESDIR}; \
+ done;
+ for TEMPLATEDIR in $(TEMPLATE_DIRS); do \
+ cp -r $$TEMPLATEDIR ${SOGO_TEMPLATESDIR}; \
+ done;
clean ::
# common make file for UI bundles
--include ../../config.make
+include ../../config.make
include $(GNUSTEP_MAKEFILES)/common.make
include ../../Version
-include ./Version
+-include ./Version
BUNDLE_EXTENSION = .SOGo
-BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SOGo-$(MAJOR_VERSION).$(MINOR_VERSION)
+BUNDLE_INSTALL_DIR = $(SOGO_LIBDIR)
ADDITIONAL_INCLUDE_DIRS += \
-I.. \