make: Shifted site installation makefile definitions into $(SITE_DIR)/make/site.mk

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2014-06-28 02:00:24 +00:00
commit 298f35647f
4 changed files with 14 additions and 14 deletions

View file

@ -494,15 +494,6 @@ INSTALL_APACHE_CONFDIR = $(APACHE_CONF_DIR)
INSTALLED_APACHE_CONF = $(addprefix $(INSTALL_APACHE_CONFDIR)/,$(patsubst %.apache-conf,%.conf,$(APACHE_CONF)))
endif
# -- SITE
ifneq ($(TARGET),mingw)
INSTALLATION_FILE_TYPES += SITE
SITE += $(filter-out $(DONT_INSTALL),$(wildcard *.site))
BUILD_SITEDIR = $(TOPDIR)/bin/site/modules.d
INSTALL_SITEDIR = $(SITE_MODULES_DIR)
INSTALLED_SITE = $(addprefix $(INSTALL_SITEDIR)/,$(patsubst %.site,%.conf,$(SITE)))
endif
# -- RSYSLOG
ifneq ($(TARGET),mingw)
INSTALLATION_FILE_TYPES += RSYSLOG
@ -869,6 +860,18 @@ endif
# -- use of supplementary libraries
ifneq ($(filter site,$(PREREQ_BUILD)),)
SITE_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/site /opt/$(FLAVOUR_PATH_PREFIX)site))
SITE_VERSION = $(call version,$(SITE_DIR))
RPM_REQUIRES_RUN += $(FLAVOUR_PREFIX)site-run = $(SITE_VERSION)
#RPM_REQUIRES_DEVEL += $(FLAVOUR_PREFIX)site-devel = $(SITE_VERSION)
PREREQ_BUILD += ytools
#INCLUDE += -I$(SITE_DIR)/include
#LIBFLAGS += -L$(SITE_DIR)/lib -lsite
#EXE_SEARCH_PATH += $(SITE_DIR)/bin
PREREQ += SITE
endif
ifneq ($(filter jux2,$(PREREQ_BUILD)),)
JUX2_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/jux2 /opt/$(FLAVOUR_PATH_PREFIX)jux2))
JUX2_VERSION = $(call version,$(JUX2_DIR))