* [spp] [PATCH] makefile: add dist-clean task
@ 2018-12-21 4:10 ogawa.yasufumi
0 siblings, 0 replies; only message in thread
From: ogawa.yasufumi @ 2018-12-21 4:10 UTC (permalink / raw)
To: ferruh.yigit, spp, ogawa.yasufumi
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
`make clean` task does not remove all of files generated with make
command. This update is to add `make dist-clean` to do the task.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
GNUmakefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/GNUmakefile b/GNUmakefile
index fcf6a33..7c2b55a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -21,6 +21,11 @@ showversion:
# Compile RST documents
DOC_ROOT = docs/guides
+.PHONY: dist-clean
+dist-clean:
+ make clean
+ rm -rf $(wildcard src/*/$(RTE_TARGET))
+
.PHONY: doc
doc: doc-all
doc-all: doc-pdf doc-html
--
2.7.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-12-21 4:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-21 4:10 [spp] [PATCH] makefile: add dist-clean task ogawa.yasufumi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).