Use the DESTDIR variable to make packaging easier

This commit is contained in:
Mike Brady
2017-10-09 11:02:25 +01:00
parent 6f8bd1a6e5
commit 687213e1f0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Dbus service file
if USE_DBUS
servicedir = /usr/local/share/dbus-1/services
servicedir = $(DESTDIR)/usr/local/share/dbus-1/services
service_in_files = org.gnome.ShairportSync.service.in
service_DATA = $(service_in_files:.service.in=.service)
EXTRA_DIST = $(service_in_files)
+1 -1
View File
@@ -21,6 +21,6 @@ shairportsync.c: org.gnome.ShairportSync.xml
# Dbus service file
if USE_DBUS
interfacesdir = /usr/local/share/dbus-1/interfaces
interfacesdir = $(DESTDIR)/usr/local/share/dbus-1/interfaces
interfaces_DATA = org.gnome.ShairportSync.xml
endif