File: fix-clean-target.patch

package info (click to toggle)
flashbench 62%2Bgit20120606.2e30b19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 184 kB
  • sloc: ansic: 1,501; makefile: 30
file content (18 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix clean target
Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>

Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -14,5 +14,9 @@
 
 erase: erase.o
 
+install:
+	install -D -m 0755 flashbench $(DESTDIR)/usr/bin/flashbench
+	install -D -m 0755 erase $(DESTDIR)/usr/bin/flashbench-erase
+
 clean:
-	rm flashbench flashbench.o dev.o vm.o
+	rm -f erase erase.o flashbench flashbench.o dev.o vm.o