[Mesa-dev] [PATCH 2/2] xmlpool: remove the clean target

Emil Velikov emil.l.velikov at gmail.com
Sun Mar 29 05:46:32 PDT 2015


... by folding it into CLEANFILES. Don't worry about $(LANG) as it is
essentially the first folder of $(POS). With the latter already handled.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/mesa/drivers/dri/common/xmlpool/Makefile.am | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/mesa/drivers/dri/common/xmlpool/Makefile.am b/src/mesa/drivers/dri/common/xmlpool/Makefile.am
index 9700499..a6f1652 100644
--- a/src/mesa/drivers/dri/common/xmlpool/Makefile.am
+++ b/src/mesa/drivers/dri/common/xmlpool/Makefile.am
@@ -61,12 +61,10 @@ EXTRA_DIST = \
 	SConscript
 
 BUILT_SOURCES = options.h
-CLEANFILES = $(MOS) options.h
-
-# All generated files are cleaned up.
-clean:
-	-rm -f $(POT) options.h *~
-	-rm -rf $(LANGS)
+CLEANFILES = \
+	options.h
+	$(POS) \
+	$(MOS)
 
 # Default target options.h
 options.h: LOCALEDIR := .
-- 
2.3.1



More information about the mesa-dev mailing list