[RigoDaemon] integrate with build system
This commit is contained in:
17
rigo/RigoDaemon/Makefile
Normal file
17
rigo/RigoDaemon/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
SUBDIRS = dbus polkit
|
||||
PREFIX = /usr
|
||||
BINDIR = $(PREFIX)/bin
|
||||
LIBDIR = $(PREFIX)/lib
|
||||
DESTDIR =
|
||||
|
||||
all:
|
||||
for d in $(SUBDIRS); do $(MAKE) -C $$d; done
|
||||
|
||||
install:
|
||||
install -d $(DESTDIR)$(LIBDIR)/rigo/RigoDaemon
|
||||
install -m 644 $(wildcard *.py) $(DESTDIR)$(LIBDIR)/rigo/RigoDaemon/
|
||||
install -m 755 app.py $(DESTDIR)$(LIBDIR)/rigo/RigoDaemon/
|
||||
for d in $(SUBDIRS); do $(MAKE) -C $$d install; done
|
||||
|
||||
clean:
|
||||
for d in $(SUBDIRS); do $(MAKE) -C $$d clean; done
|
||||
19
rigo/RigoDaemon/dbus/Makefile
Normal file
19
rigo/RigoDaemon/dbus/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
PREFIX = /usr
|
||||
BINDIR = $(PREFIX)/bin
|
||||
LIBDIR = $(PREFIX)/lib
|
||||
DESTDIR =
|
||||
|
||||
all:
|
||||
|
||||
install:
|
||||
install -d $(DESTDIR)/etc/dbus-1/system.d
|
||||
install -m 644 org.sabayon.Rigo.conf $(DESTDIR)/etc/dbus-1/system.d/
|
||||
|
||||
install -d $(DESTDIR)$(PREFIX)/share/dbus-1/interfaces
|
||||
install -m 644 org.sabayon.Rigo.xml $(DESTDIR)$(PREFIX)/share/dbus-1/interfaces/
|
||||
|
||||
install -d $(DESTDIR)$(PREFIX)/share/dbus-1/system-services
|
||||
install -m 644 org.sabayon.Rigo.service $(DESTDIR)$(PREFIX)/share/dbus-1/system-services/
|
||||
|
||||
clean:
|
||||
for d in $(SUBDIRS); do $(MAKE) -C $$d clean; done
|
||||
13
rigo/RigoDaemon/polkit/Makefile
Normal file
13
rigo/RigoDaemon/polkit/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
PREFIX = /usr
|
||||
BINDIR = $(PREFIX)/bin
|
||||
LIBDIR = $(PREFIX)/lib
|
||||
DESTDIR =
|
||||
|
||||
all:
|
||||
|
||||
install:
|
||||
install -d $(DESTDIR)$(PREFIX)/share/polkit-1/actions
|
||||
install -m 644 org.sabayon.RigoDaemon.policy $(DESTDIR)$(PREFIX)/share/polkit-1/actions/
|
||||
|
||||
clean:
|
||||
for d in $(SUBDIRS); do $(MAKE) -C $$d clean; done
|
||||
Reference in New Issue
Block a user