blob: 99083ab253dc622144bc81610a654571f0e5fa31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
CONFIGFILES=$(wildcard *.conf)
INSTALLPATH=/etc/dbus-1/system.d
all:
install: ${CONFIGFILES}
@echo Installing DBus config files into ${INSTALLPATH}...
@mkdir -p ${INSTALLPATH}
@$(foreach file,${CONFIGFILES},install -m644 ${file} ${INSTALLPATH}/${file};)
uninstall:
@echo Remove DBus config files from ${INSTALLPATH}...
@$(foreach file,${CONFIGFILES},rm -f ${INSTALLPATH}/${file};)
.PHONY: all install uninstall
|