File: 10-no-bsd-make.patch

package info (click to toggle)
bsdiff 4.3-21
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 192 kB
  • sloc: ansic: 1,473; makefile: 43
file content (24 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Jari Aalto <jari.aalto@cante.net>
Subject: Remove BSDism from Makefile
Bug: https://bugs.debian.org/718104

---
 Makefile |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,10 @@
 bsdiff:		bsdiff.c
 bspatch:	bspatch.c
 
-install:
+install-bin:
 	${INSTALL_PROGRAM} bsdiff bspatch ${PREFIX}/bin
-.ifndef WITHOUT_MAN
+
+install-man:
 	${INSTALL_MAN} bsdiff.1 bspatch.1 ${PREFIX}/man/man1
-.endif
+
+install: install-bin install-man