chiark / gitweb /
subdirmk: clean.sd.mk: Delete .*~ too (eg .gitignore~)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2019 22:45:07 +0000 (22:45 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 25 Nov 2019 02:29:40 +0000 (02:29 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
clean.sd.mk

index 08f8dcc..045561c 100644 (file)
@@ -15,7 +15,7 @@
 &#     $(RM) -r somethingn
 &# ($(RM) conventionally contains `-f'.)
 
-&CLEAN += & *~ *.tmp
+&CLEAN += & *~ .*~ *.tmp
 &CLEAN += $(&OBJECTS)
 &CLEAN += $(&TARGETS)