add init.d and friends to Makefile
This commit is contained in:
@@ -11,6 +11,14 @@ EXTRA_DIST = LICENSE \
|
||||
README.md \
|
||||
VERSION
|
||||
|
||||
install-data-hook:
|
||||
@if [ -f "/etc/debian_version" ]; then \
|
||||
mkdir -p $(DESTDIR)/etc/default/ $(DESTDIR)/etc/init.d/ $(DESTDIR)/lib/systemd/system/; \
|
||||
cp $(srcdir)/contrib/debian/default/ebusd $(DESTDIR)/etc/default/; \
|
||||
cp $(srcdir)/contrib/debian/init.d/ebusd $(DESTDIR)/etc/init.d/; \
|
||||
cp $(srcdir)/contrib/debian/systemd/ebusd.service $(DESTDIR)/lib/systemd/system/; \
|
||||
fi
|
||||
|
||||
test:
|
||||
$(MAKE) -C src/lib/ebus/test
|
||||
if CONTRIB
|
||||
|
||||
Reference in New Issue
Block a user