changeset 31:ab892a11fb92

(BSD) Makefile: Fix build.
author ng0@n0.is
date Fri, 03 May 2019 14:08:34 +0000
parents 327984ce004e
children d3ebe580ab98
files Makefile
diffstat 1 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri May 03 13:32:24 2019 +0000
+++ b/Makefile	Fri May 03 14:08:34 2019 +0000
@@ -1,4 +1,12 @@
 PROG=		cvsps
+SRCS+=		cvsps.c \
+		cache.c util.c stats.c cap.c \
+		cvs_direct.c list_sort.c
+.PATH:		${.CURDIR}/cbtcommon
+SRCS+=		debug.c hash.c \
+		text_util.c sio.c \
+		tcpsocket.c
+
 MAJOR=		2
 MINOR=		2b2
 
@@ -8,9 +16,14 @@
 CPPFLAGS+=	${DFLAGS}
 
 LDADD+=		-lz
+PDADD+=		${LIBZ}
 
 MAN+=		cvsps.1
 
-CLEANFILES+=	*~ *.o
+CLEANFILES+=	*~ *.o html/*/*/*
+
+dist: clean ${PROG}
+	echo "fix me"
+	# mkdir -p html/man/1 && mv ${PROG}.html1 html/man/1/${PROG}.html
 
 .include <bsd.prog.mk>