PKGBUILDs/community/bsdiff/Makefile.patch
2009-10-09 21:15:33 -05:00

25 lines
768 B
Diff

--- 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 = /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