Install systemd and Upstart stuff only on Linux
This commit is contained in:
parent
048be62484
commit
de8be7c3e0
2 changed files with 10 additions and 2 deletions
|
@ -1 +1,5 @@
|
||||||
|
ifeq ($(OS), Linux)
|
||||||
|
|
||||||
$(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644)))
|
$(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644)))
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
|
@ -1 +1,5 @@
|
||||||
|
ifeq ($(OS), Linux)
|
||||||
|
|
||||||
$(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n), $(sysconfdir)/init, 0644)))
|
$(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n), $(sysconfdir)/init, 0644)))
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue