diff --git a/make/rules.mk b/make/rules.mk index 3d2dc9a0..5f39617a 100644 --- a/make/rules.mk +++ b/make/rules.mk @@ -287,16 +287,16 @@ endef cp $< $@ # don't know why %: %.init from above doesn't remake % -$(INSTALL_INITDIR)/%: %.init | $(INSTALL_INITDIR) +$(INSTALL_INITDIR)/%: %.init | install_dir_INIT $(INSTALL) -o $(INITOWNER) -g $(INITGROUP) -m $(INITMODE) $< $@ -$(INSTALL_LOGROTDIR)/%: %.logrotate | $(INSTALL_LOGROTDIR) +$(INSTALL_LOGROTDIR)/%: %.logrotate | install_dir_LOGROT $(INSTALL) -o $(LOGROTOWNER) -g $(LOGROTGROUP) -m $(LOGROTMODE) $< $@ -$(INSTALL_RSYSLOGDIR)/%.conf: %.rsyslog | $(INSTALL_RSYSLOGDIR) +$(INSTALL_RSYSLOGDIR)/%.conf: %.rsyslog | install_dir_RSYSLOG $(INSTALL) -o $(RSYSLOGOWNER) -g $(RSYSLOGGROUP) -m $(RSYSLOGMODE) $< $@ -$(INSTALL_RSYSLOGDIR)/%.bprof: rsyslog-%.bprof | $(INSTALL_RSYSLOGDIR) +$(INSTALL_RSYSLOGDIR)/%.bprof: rsyslog-%.bprof | install_dir_RSYSLOG $(INSTALL) -o $(RSYSLOGOWNER) -g $(RSYSLOGGROUP) -m $(RSYSLOGMODE) $< $@ %: %.sysconf