blob: 82afa6ad56552ad7135723f712aa5248b0d8446e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
dist_noinst_DATA = \
ipa.conf.in
systemdtmpfiles_DATA = \
ipa.conf
CLEANFILES = $(systemdtmpfiles_DATA)
%: %.in Makefile
sed -e 's|@localstatedir[@]|$(localstatedir)|g' '$(srcdir)/$@.in' >$@
# create empty directories as needed
# DESTDIR might not be set, in that case default to system root
DESTDIR ?= /
install-data-hook:
for conf in $(systemdtmpfiles_DATA); do \
systemd-tmpfiles --remove --create --boot \
--root $(DESTDIR) \
$(DESTDIR)$(systemdtmpfilesdir)/$${conf} || :; \
done
|