Commit f019bd17a1769103dd82b885d7b46bb9a30bdc29

Ramsay Jones 2010-04-27T16:36:52

Makefile: 'make clean' wipe all editor backup files in src/*/ In a similar way to commit 9b17380 ("Make 'make clean' wipe all object files in src/*/", 2010-04-14), we use a shell glob when removing editor backup files. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile b/Makefile
index 96e4df3..ba6f870 100644
--- a/Makefile
+++ b/Makefile
@@ -93,7 +93,7 @@ clean:
 	rm -f *.pdb
 	rm -f src/*.o src/*/*.o
 	rm -rf apidocs
-	rm -f *~ src/*~ src/git/*~ src/sha1/*~ src/unix/*~ src/win32/*~
+	rm -f *~ src/*~ src/*/*~
 	@$(MAKE) -C tests -s --no-print-directory clean
 	@$(MAKE) -s --no-print-directory cov-clean