File: fix-clean-target.patch

package info (click to toggle)
libtomcrypt 1.17-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,728 kB
  • ctags: 2,733
  • sloc: ansic: 38,792; makefile: 326; sh: 88; perl: 48
file content (20 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix “clean” target.
Author: Michael Stapelberg <stapelberg@debian.org>
Forwarded: https://github.com/libtom/libtomcrypt/pull/30
Last-Updated: 2014-01-02

---

Index: libtomcrypt/makefile
===================================================================
--- libtomcrypt.orig/makefile	2014-01-01 17:41:55.012892731 +0100
+++ libtomcrypt/makefile	2014-01-01 17:54:10.466546466 +0100
@@ -325,7 +325,7 @@
 #documentation.
 clean:
 	rm -f `find . -type f | grep "[.]o" | xargs`
-	rm -f `find . -type f | grep "[.]lo"  | xargs`
+	rm -f `find . -type f | grep "[.]lo$$"  | xargs`
 	rm -f `find . -type f | grep "[.]a" | xargs`
 	rm -f `find . -type f | grep "[.]la"  | xargs`
 	rm -f `find . -type f | grep "[.]obj" | xargs`