blob: e5f1aa4ee0126970cb2f1b15784c862483752ff4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- Makefile.old 2005-08-17 00:14:10.000000000 +0200
+++ Makefile 2007-09-15 12:32:07.000000000 +0200
@@ -1,15 +1,16 @@
CFLAGS += -O3 -lbz2
PREFIX ?= /usr/local
-INSTALL_PROGRAM ?= ${INSTALL} -c -s -m 555
-INSTALL_MAN ?= ${INSTALL} -c -m 444
+INSTALL = /usr/bin/install
+INSTALL_PROGRAM ?= ${INSTALL} -D -m755
+INSTALL_MAN ?= ${INSTALL} -D -m644
all: bsdiff bspatch
bsdiff: bsdiff.c
bspatch: bspatch.c
install:
- ${INSTALL_PROGRAM} bsdiff bspatch ${PREFIX}/bin
-.ifndef WITHOUT_MAN
- ${INSTALL_MAN} bsdiff.1 bspatch.1 ${PREFIX}/man/man1
-.endif
+ ${INSTALL_PROGRAM} bsdiff ${PREFIX}/bin/bsdiff
+ ${INSTALL_PROGRAM} bspatch ${PREFIX}/bin/bspatch
+ ${INSTALL_MAN} bsdiff.1 ${PREFIX}/man/man1/bsdiff.1
+ ${INSTALL_MAN} bspatch.1 ${PREFIX}/man/man1/bspatch.1
|