File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ $(top_builddir)/%.roff: %.adoc
90
90
$(INSTALL ) -m 644 $(top_builddir ) /$(@:.roff= ) $(top_builddir ) /$@
91
91
endif
92
92
93
- install-data-hook : install-daemon-conf install-systemd-service install-data-dbus
94
- uninstall-hook : uninstall-daemon-conf uninstall-systemd-service uninstall-data-dbus
93
+ install-data-hook : install-daemon-conf install-systemd-service install-data-dbus install-tmpfiles
94
+ uninstall-hook : uninstall-daemon-conf uninstall-systemd-service uninstall-data-dbus uninstall-tmpfiles
95
95
96
96
CLEANFILES+ =\
97
97
$(top_builddir ) /usbguard-daemon.conf
@@ -106,6 +106,15 @@ usbguard_confdir= $(sysconfdir)/usbguard
106
106
107
107
distuninstallcheck_listfiles = find . -type f ! -name rules.conf -print
108
108
109
+ EXTRA_DIST+ =usbguard-tmpfiles.conf
110
+
111
+ install-tmpfiles :
112
+ mkdir -p ${DESTDIR} $(prefix ) /lib/tmpfiles.d/
113
+ $(INSTALL_DATA ) -m 640 ${srcdir} /usbguard-tmpfiles.conf ${DESTDIR} $(prefix ) /lib/tmpfiles.d/usbguard.conf
114
+
115
+ uninstall-tmpfiles :
116
+ rm ${DESTDIR} $(prefix ) /lib/tmpfiles.d/usbguard.conf
117
+
109
118
install-daemon-conf : $(top_builddir ) /usbguard-daemon.conf
110
119
$(MKDIR_P ) $(DESTDIR ) /$(usbguard_confdir )
111
120
$(MKDIR_P ) $(DESTDIR ) /$(usbguard_confdir ) /IPCAccessControl.d
Original file line number Diff line number Diff line change
1
+ d /var/log/usbguard 0700 root root - -
You can’t perform that action at this time.
0 commit comments