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

package info (click to toggle)
unrar-nonfree 1%3A6.2.6-1%2Bdeb12u1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm
  • size: 1,976 kB
  • sloc: cpp: 28,439; makefile: 712; sh: 11
file content (22 lines) | stat: -rw-r--r-- 536 bytes parent folder | download
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 926e265..b8a6ece 100644
--- a/makefile
+++ b/makefile
@@ -140,6 +140,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