diff options
Diffstat (limited to 'src/nix-daemon')
-rw-r--r-- | src/nix-daemon/Makefile.am | 12 | ||||
-rw-r--r-- | src/nix-daemon/local.mk | 9 |
2 files changed, 9 insertions, 12 deletions
diff --git a/src/nix-daemon/Makefile.am b/src/nix-daemon/Makefile.am deleted file mode 100644 index b8e9f4a064ad..000000000000 --- a/src/nix-daemon/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -bin_PROGRAMS = nix-daemon - -nix_daemon_SOURCES = nix-daemon.cc -nix_daemon_LDADD = ../libmain/libmain.la ../libstore/libstore.la ../libutil/libutil.la \ - ../boost/format/libformat.la - -AM_CXXFLAGS = \ - -I$(srcdir)/.. -I$(srcdir)/../libutil \ - -I$(srcdir)/../libstore -I$(srcdir)/../libmain - -install-exec-local: - ln -sf nix-daemon $(DESTDIR)$(bindir)/nix-worker diff --git a/src/nix-daemon/local.mk b/src/nix-daemon/local.mk new file mode 100644 index 000000000000..db071a3f7c7e --- /dev/null +++ b/src/nix-daemon/local.mk @@ -0,0 +1,9 @@ +programs += nix-daemon + +nix-daemon_DIR := $(d) + +nix-daemon_SOURCES := $(d)/nix-daemon.cc + +nix-daemon_LIBS = libmain libstore libutil libformat + +$(eval $(call install-symlink, nix-daemon, $(bindir)/nix-worker)) |