mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
21 lines
595 B
Makefile
21 lines
595 B
Makefile
include $(MODDIR)/make/defs.mk
|
|
include $(MODDIR)/make/rules.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_INIT $(CONF_D)
|
|
|
|
clean.conf:
|
|
rm -rf *.h *~ .*.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
|