Explorar o código

Fix Subdirectory Artifact Builds

JDierkse %!s(int64=5) %!d(string=hai) anos
pai
achega
d367c181e1
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Makefile

+ 3 - 1
Makefile

@@ -143,7 +143,9 @@ endef
 
 define add_target
         ifeq ($(.DEFAULT_GOAL),artifacts)
-                .DEFAULT_GOAL := $(1)
+                ifneq (,$(wildcard ./Makefile.conf))
+                        .DEFAULT_GOAL := $(1)
+                endif
         endif
 
         ifneq (,$$(findstring .a,$(1)))