]> git.proxmox.com Git - libgit2.git/commitdiff
Makefile: 'make clean' wipe all editor backup files in src/*/
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Tue, 27 Apr 2010 15:36:52 +0000 (16:36 +0100)
committerRamsay Jones <ramsay@ramsay1.demon.co.uk>
Wed, 28 Apr 2010 19:57:54 +0000 (20:57 +0100)
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>
Makefile

index 96e4df3bdb0802fef56077e3f2b24fbe4b72b4a3..ba6f870d2cccbb6439c43979a9fdfa72c05b1a73 100644 (file)
--- 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