make: Add definitions and rules for *.tmpfiles

Add support for *.tmpfiles. xxx.tmpfiles gets installed by conf.mk as
/usr/lib/tmpfiles.d/xxx.conf.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-09-14 13:29:04 +00:00
commit 336d1a5133
5 changed files with 27 additions and 4 deletions

View file

@ -358,6 +358,9 @@ $(INSTALL_LOGROTDIR)/%: %.logrotate | provide_dir_LOGROT
$(INSTALL_APACHE_CONFDIR)/%.conf: %.apache-conf | provide_dir_APACHE_CONF
$(INSTALL) -p -o $(APACHE_CONFOWNER) -g $(APACHE_CONFGROUP) -m $(APACHE_CONFMODE) $< $@
$(INSTALL_TMPFILESDIR)/%.conf: %.tmpfiles | provide_dir_TMPFILES
$(INSTALL) -p -o $(TMPFILESOWNER) -g $(TMPFILESGROUP) -m $(TMPFILESMODE) $< $@
$(INSTALL_RSYSLOGDIR)/%.conf: %.rsyslog | provide_dir_RSYSLOG
$(INSTALL) -p -o $(RSYSLOGOWNER) -g $(RSYSLOGGROUP) -m $(RSYSLOGMODE) $< $@