From 6f0094d4f13d07d00ce397ad14b97697f93c5d31 Mon Sep 17 00:00:00 2001 From: Julien Vehent Date: Sun, 30 Nov 2014 13:41:54 -0500 Subject: [PATCH] [doc] minor change to Makefile mig-cmd --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d0be09d4..a0a07786 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,8 @@ mig-cmd: if [ ! -r $(AVAILMODS) ]; then echo "$(AGTCONF) configuration file is missing" ; exit 1; fi cp $(AVAILMODS) src/mig/client/cmd/available_modules.go $(MKDIR) -p $(BINDIR) - $(GO) build $(GOOPTS) -o $(BINDIR)/mig $(GOLDFLAGS) mig/client/cmd + $(GO) build $(GOOPTS) -o $(BINDIR)/mig-$(OS)$(ARCH) $(GOLDFLAGS) mig/client/cmd + ln -fs "$$(pwd)/$(BINDIR)/mig-$(OS)$(ARCH)" "$$(pwd)/$(BINDIR)/mig" mig-agentsearch: $(MKDIR) -p $(BINDIR)