make: Add support for LOGROT installation type (/etc/logrotate.d/)

This commit is contained in:
Jan Lindemann 2009-03-10 15:56:01 +00:00 committed by Jan Lindemann
commit 9966c55335
4 changed files with 27 additions and 1 deletions

View file

@ -355,6 +355,14 @@ INSTALL_LD_CONFDIR = $(LD_CONF_DIR)
INSTALLED_LD_CONF = $(addprefix $(INSTALL_LD_CONFDIR)/,$(LD_CONF))
endif
# -- LOGROT
ifneq ($(TARGET),mingw)
LOGROT += $(basename $(wildcard *.logrotate))
BUILD_LOGROTDIR = $(TOPDIR)/bin/logrotate.d
INSTALL_LOGROTDIR = $(LOGROT_DIR)
INSTALLED_LOGROT = $(addprefix $(INSTALL_LOGROTDIR)/,$(LOGROT))
endif
# ==
ifeq ($(DEVELOPMENT),true)