File: fix_clean_target.patch

package info (click to toggle)
bitseq 0.7.5%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: cpp: 7,043; python: 562; makefile: 150; sh: 52
file content (17 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Tille <tille@debian.org>
Last-Change: Sat, 02 Dec 2017 09:56:17 +0100
Description: Do not fail if files to remove do not exist

--- a/Makefile
+++ b/Makefile
@@ -118,8 +118,8 @@ transposeFiles.o: transposeFiles.cpp tra
 
 # CLEAN:
 clean:
-	rm *.o $(PROGRAMS)
+	rm -f *.o $(PROGRAMS)
 
 clean-all:
-	rm samtools/*.o *.o $(PROGRAMS)
+	rm -f samtools/*.o *.o $(PROGRAMS)