1 include $(TOPDIR
)/include/verbose.mk
6 SCAN_DEPS ?
= include/package.mk
10 printf
"\033[M\r$(1)" >&2;
18 SCAN
= $(patsubst $(SCAN_DIR
)/%/Makefile
,%,$(shell ls
$(SCAN_DIR
)/*/Makefile
))
20 @
($(call progress
,Collecting
$(SCAN_NAME
) info: merging...
))
21 for file in
$(SCAN
); do \
22 cat tmp
/info/.
$(SCAN_TARGET
)-$$file; \
24 @
($(call progress
,Collecting
$(SCAN_NAME
) info: done
))
28 $(foreach FILE
,$(SCAN
),
29 tmp
/.
$(SCAN_TARGET
): tmp
/info/.
$(SCAN_TARGET
)-$(FILE
) FORCE
30 tmp
/info/.
$(SCAN_TARGET
)-$(FILE
): $(SCAN_DEPS
) $(SCAN_DIR
)/$(FILE
)/Makefile
32 $$(call progress
,Collecting
$(SCAN_NAME
) info: $(SCAN_DIR
)/$(FILE
)) \
33 echo Source-Makefile
: $(SCAN_DIR
)/$(FILE
)/Makefile
; \
34 $(NO_TRACE_MAKE
) --no-print-dir DUMP
=1 -C
$(SCAN_DIR
)/$(FILE
) 3>/dev
/null || echo
"ERROR: please fix $(SCAN_DIR)/$(FILE)/Makefile" >&2; \
40 $(eval
$(call scanfiles
))
This page took 0.053726 seconds and 5 git commands to generate.