about summary refs log tree commit diff
path: root/src/bsdiff-4.2/Makefile.old
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-12-29T22·08+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-12-29T22·08+0000
commit4f07ebc67e74629724c441352a58b12143383129 (patch)
tree52fad623c7192402e2d8960dc6c259dff66779b2 /src/bsdiff-4.2/Makefile.old
parent54d8f0858825e9ae4c8fdf54b7c2019edee05237 (diff)
* Integrated bsdiff/bspatch 4.2 (from
  http://www.daemonology.net/bsdiff/bsdiff-4.2.tar.gz) into the source
  tree.  The license is a bit peculiar, but it does allow verbatim
  copying, which is what we do here (i.e., so don't make any changes
  to the sources).

Diffstat (limited to 'src/bsdiff-4.2/Makefile.old')
-rw-r--r--src/bsdiff-4.2/Makefile.old18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/bsdiff-4.2/Makefile.old b/src/bsdiff-4.2/Makefile.old
new file mode 100644
index 000000000000..ce5dd344d403
--- /dev/null
+++ b/src/bsdiff-4.2/Makefile.old
@@ -0,0 +1,18 @@
+CFLAGS		+=	-O3
+.ifdef BZIP2
+CFLAGS		+=	-DBZIP2=\"${BZIP2}\"
+.endif
+
+PREFIX		?=	/usr/local
+INSTALL_PROGRAM	?=	${INSTALL} -c -s -m 555
+INSTALL_MAN	?=	${INSTALL} -c -m 444
+
+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