Every directory should have a test target, and the test target should depend on all so that all files are generated that might be needed for testing. This commit fixes some missing targets, and adds some missing dependencies.
Signed-off-by: Jan Lindemann <jan@janware.com>
23 lines
681 B
Makefile
23 lines
681 B
Makefile
include $(JWBDIR)/make/defs.mk
|
|
include $(JWBDIR)/make/rules.mk
|
|
include $(JWBDIR)/make/dev-utils.mk
|
|
|
|
all:
|
|
clean: clean.conf
|
|
install: install_CFG install_files_SYSCFG install_files_LOGROT install_files_CRONTAB install_files_RSYSLOG \
|
|
install_files_APACHE_CONF install_files_SYSTEMD install_files_INIT install_files_TMPFILES $(CONF_D)
|
|
test: all
|
|
|
|
clean.conf:
|
|
$(RM) -rf *~ .*.swp *.done
|
|
|
|
ifneq ($(CONFIG_SUBDIR),)
|
|
$(INSTALLED_CFG): $(INSTALL_CFGDIR)
|
|
endif
|
|
|
|
ifneq ($(CONF_D),)
|
|
INSTALLED_CONF_D = $(addprefix $(INSTALL_CFGDIR)/,$(CONF_D))
|
|
$(INSTALL_CFGDIR)/$(CONF_D):
|
|
$(INSTALL) -d -m $(CFGDIRMODE) -o $(CFGDIROWNER) -g $(CFGDIRGROUP) $@
|
|
install: $(INSTALLED_CONF_D)
|
|
endif
|