mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
Rename the omnipresent MODDIR variable to JWBDIR, since that's more to the point. Signed-off-by: Jan Lindemann <jan@janware.com>
23 lines
571 B
Makefile
23 lines
571 B
Makefile
include $(JWBDIR)/make/defs.mk
|
|
include $(JWBDIR)/make/rules.mk
|
|
|
|
all:
|
|
clean: clean.conf
|
|
install: install_CFG install_files_SYSCFG install_files_LOGROT $(CONF_D)
|
|
|
|
clean.conf:
|
|
$(RM) -rf *~ .*.swp *.done
|
|
|
|
ifneq ($(CONFIG_SUBDIR),)
|
|
$(INSTALLED_CFG): $(INSTALL_CFGDIR)
|
|
|
|
$(INSTALL_CFGDIR):
|
|
install -d -m $(CFGDIRMODE) -d $(CFGDIROWNER) -g $(CFGDIRGROUP) $@
|
|
endif
|
|
|
|
ifneq ($(CONF_D),)
|
|
INSTALLED_CONF_D = $(addprefix $(INSTALL_CFGDIR)/,$(CONF_D))
|
|
$(INSTALL_CFGDIR)/$(CONF_D):
|
|
install -d -m $(CFGDIRMODE) -d $(CFGDIROWNER) -g $(CFGDIRGROUP) $@
|
|
install: $(INSTALLED_CONF_D)
|
|
endif
|