Makefile: remove pkg-stats data on clean
PATCH 1/1 Makefile: remove pkg-stats data on clean
Like commit 1f187371d002 for cpe-updates data, also remove pkg-stats data on clean.
Unlike the rest, those are not nicely located in a directory of their own, and have no variable name associated with them, so we just need to repeat their names in the clean rule.
--- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Makefile +2 -1
@@ -1089,7 +1089,8 @@ printvars: clean: rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \ $(BUILD_DIR) $(BASE_DIR)/staging \ - $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) + $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) \ + $(O)/pkg-stats.* .PHONY: distclean distclean: clean
Signature · 1 line
2.25.1
PATCH 1/1 Makefile: remove pkg-stats data on clean
Quoted 10 lines · On Tue, 18 May 2021 22:28:17 +0200 "Yann E. MORIN" <[email protected]>…
Like commit
1f187371d002for cpe-updates data, also remove pkg-stats data on clean.Unlike the rest, those are not nicely located in a directory of their own, and have no variable name associated with them, so we just need to repeat their names in the clean rule.
Signed-off-by Yann E. MORIN <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc Matthew Weber <[email protected]>
Thomas
Signature · 3 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Yann E. MORIN
AppliedPATCH 1/1 Makefile: remove pkg-stats data on clean
In reply to Yann E. MORINAll,
On 2021-05-18 22:28 +0200, Yann E. MORIN spake thusly:
Quoted 10 lines
Like commit
1f187371d002for cpe-updates data, also remove pkg-stats data on clean.Unlike the rest, those are not nicely located in a directory of their own, and have no variable name associated with them, so we just need to repeat their names in the clean rule.
Signed-off-by Yann E. MORIN <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc Matthew Weber <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 21 lines
--- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Makefile +2
-1@@ -1089,7 +1089,8 @@ printvars: clean: rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \ $(BUILD_DIR) $(BASE_DIR)/staging \ - $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) + $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) \ + $(O)/pkg-stats.* .PHONY: distclean distclean: cleanSignature · 1 line
2.25.1
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'