Browse Source

Fix Subdirectory Artifact Builds

JDierkse 5 năm trước cách đây
mục cha
commit
d367c181e1
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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)))