File: 0006-Keep-output-files-from-clean-target.patch

package info (click to toggle)
unrar-nonfree 1%3A7.1.10-2
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 1,956 kB
  • sloc: cpp: 26,396; makefile: 712; sh: 11
file content (22 lines) | stat: -rw-r--r-- 534 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
21
22
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Fri, 9 Oct 2020 19:34:33 +0900
Subject: Keep output files from "clean" target

Forwarded: not-needed
---
 makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/makefile b/makefile
index 38cafb5..1d4f2ea 100644
--- a/makefile
+++ b/makefile
@@ -42,6 +42,8 @@ uninstall:	uninstall-unrar
 clean:
 	@rm -f *.bak *~
 	@rm -f $(OBJECTS) $(UNRAR_OBJ) $(LIB_OBJ)
+
+distclean: clean
 	@rm -f unrar libunrar.*
 
 # We removed 'clean' from dependencies, because it prevented parallel