Skip to content

Commit

Permalink
Install systemd and Upstart stuff only on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Jul 16, 2014
1 parent 048be62 commit de8be7c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion misc/systemd/local.mk
Original file line number Diff line number Diff line change
@@ -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
6 changes: 5 additions & 1 deletion misc/upstart/local.mk
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit de8be7c

Please sign in to comment.