diff --git a/cmd_build.go b/cmd_build.go index 787cc17..83130be 100644 --- a/cmd_build.go +++ b/cmd_build.go @@ -124,6 +124,7 @@ func runBuild(exe bool, odir, outname, cmdstr, vm, mainstr string, symbols bool) err = os.Remove(outname + "_go" + libExt) + fmt.Printf("go build\n") cmd = exec.Command("go", "build") cmdout, err = cmd.CombinedOutput() if err != nil { diff --git a/pkgsetup.go b/pkgsetup.go index 4e5984a..c19c2a7 100644 --- a/pkgsetup.go +++ b/pkgsetup.go @@ -96,7 +96,7 @@ gen: build: $(MAKE) -C %[1]s build - + install: # this does a local install of the package, building the sdist and then directly installing it rm -rf dist build */*.egg-info *.egg-info @@ -105,7 +105,7 @@ install: install-exe: # install executable into /usr/local/bin - cp %[1]s /usr/local/bin + cp %[1]s/%[1]s /usr/local/bin ` )