summaryrefslogtreecommitdiffstats
path: root/dbus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/Makefile')
-rw-r--r--dbus/Makefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/dbus/Makefile b/dbus/Makefile
deleted file mode 100644
index 31d22b3..0000000
--- a/dbus/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-SERVICEFILESIN=$(wildcard *.service.in)
-SERVICEFILES=$(basename ${SERVICEFILESIN})
-INSTALLPATH=/usr/share/dbus-1/system-services/
-BINARYPATH=$(realpath $(dir $(lastword $(MAKEFILE_LIST)))/../src)
-ESCAPEDBINARYPATH=
-
-%.service: %.service.in
- @echo [GEN] $@
- @sed "s~\$${PATH}~${BINARYPATH}~g" $< > $@
-
-all: ${SERVICEFILES}
-
-install: ${SERVICEFILES}
- @echo Installing DBus service files into ${INSTALLPATH}...
- @mkdir -p ${INSTALLPATH}
- @$(foreach file,${SERVICEFILES},install -m644 ${file} ${INSTALLPATH}/${file};)
- @cd config && make install
-
-uninstall:
- @echo Remove DBus service files from ${INSTALLPATH}...
- @$(foreach file,${SERVICEFILES},rm -f ${INSTALLPATH}/${file};)
- @cd config && make uninstall
-
-clean:
- @rm -f ${SERVICEFILES}
-
-.PHONY: all clean install uninstall