summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/diff/Makefile
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>1999-02-12 12:45:03 +0000
committertv <tv@NetBSD.org>1999-02-12 12:45:03 +0000
commit45e58bf16e075ebcfcc33e44c85af1b480949325 (patch)
treeda1e8a4ea8eb6861cd5c91162623ca785b7e196a /gnu/usr.bin/diff/Makefile
parent9b9c3c160ebd9f3171b7f6fbf078a92e6e40d150 (diff)
Use dist layout for diffutils, and add Texinfo doc.
Diffstat (limited to 'gnu/usr.bin/diff/Makefile')
-rw-r--r--gnu/usr.bin/diff/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/gnu/usr.bin/diff/Makefile b/gnu/usr.bin/diff/Makefile
index 7b10534882e..01c7320b9cc 100644
--- a/gnu/usr.bin/diff/Makefile
+++ b/gnu/usr.bin/diff/Makefile
@@ -1,11 +1,18 @@
-# $NetBSD: Makefile,v 1.11 1997/10/25 10:10:30 lukem Exp $
+# $NetBSD: Makefile,v 1.12 1999/02/12 12:45:03 tv Exp $
-PROG= diff
-SRCS= diff.c analyze.c cmpbuf.c io.c context.c ed.c normal.c util.c dir.c \
- regex.c side.c ifdef.c version.c getopt.c getopt1.c
+PROG= diff
+SRCS= diff.c analyze.c cmpbuf.c io.c context.c ed.c normal.c util.c \
+ dir.c regex.c side.c ifdef.c version.c getopt.c getopt1.c
-CPPFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR} -DPR_PROGRAM=\"/usr/bin/pr\"
-LDADD+= -lgnumalloc
-DPADD+= ${LIBGNUMALLOC}
+CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} -I${DIST}/diffutils \
+ -DPR_PROGRAM=\"/usr/bin/pr\"
+LDADD+= -lgnumalloc
+DPADD+= ${LIBGNUMALLOC}
+TEXINFO= diff.texi
+
+DIST= ${.CURDIR}/../../dist
+.PATH: ${DIST}/diffutils
+
+.include <bsd.info.mk>
.include <bsd.prog.mk>