Install systemd and Upstart stuff only on Linux

This commit is contained in:
Eelco Dolstra 2014-07-16 11:16:54 +02:00
parent 048be62484
commit de8be7c3e0
2 changed files with 10 additions and 2 deletions

View file

@ -1 +1,5 @@
$(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644))) ifeq ($(OS), Linux)
$(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644)))
endif

View file

@ -1 +1,5 @@
$(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n), $(sysconfdir)/init, 0644))) ifeq ($(OS), Linux)
$(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n), $(sysconfdir)/init, 0644)))
endif