Browse Source

Shorten a command in the Makefile

Loïc Hoguin 6 years ago
parent
commit
a428b10abf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -66,7 +66,7 @@ test-build:: $(H2SPEC)
 $(H2SPEC):
 $(H2SPEC):
 	$(gen_verbose) mkdir -p $(GOPATH)/src/github.com/summerwind
 	$(gen_verbose) mkdir -p $(GOPATH)/src/github.com/summerwind
 	$(verbose) git clone --depth 1 https://github.com/summerwind/h2spec $(dir $(H2SPEC))
 	$(verbose) git clone --depth 1 https://github.com/summerwind/h2spec $(dir $(H2SPEC))
-	$(verbose) $(MAKE) -C $(GOPATH)/src/github.com/summerwind/h2spec build MAKEFLAGS=
+	$(verbose) $(MAKE) -C $(dir $(H2SPEC)) build MAKEFLAGS=
 
 
 # Use erl_make_certs from the tested release during CI
 # Use erl_make_certs from the tested release during CI
 # and ensure that ct_helper is always recompiled.
 # and ensure that ct_helper is always recompiled.