Blame


1 5dcb3a43 2023-04-01 thomas .PATH:${.CURDIR}/../lib
2 5dcb3a43 2023-04-01 thomas .PATH:${.CURDIR}/../gotd
3 5dcb3a43 2023-04-01 thomas
4 5dcb3a43 2023-04-01 thomas .include "../got-version.mk"
5 5dcb3a43 2023-04-01 thomas
6 5dcb3a43 2023-04-01 thomas .if ${GOT_RELEASE} == "Yes"
7 5dcb3a43 2023-04-01 thomas BINDIR ?= ${PREFIX}/bin
8 5dcb3a43 2023-04-01 thomas .endif
9 5dcb3a43 2023-04-01 thomas
10 5dcb3a43 2023-04-01 thomas PROG= gitwrapper
11 5dcb3a43 2023-04-01 thomas
12 48488136 2023-04-22 thomas SRCS= gitwrapper.c parse.y log.c dial.c path.c error.c \
13 232c0ac1 2023-04-22 thomas reference_parse.c hash.c object_qid.c
14 5769f9a0 2023-04-22 thomas
15 5dcb3a43 2023-04-01 thomas CLEANFILES = parse.h
16 5dcb3a43 2023-04-01 thomas
17 4d55f0a1 2023-04-01 thomas MAN = ${PROG}.1
18 5dcb3a43 2023-04-01 thomas
19 5dcb3a43 2023-04-01 thomas CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR}/../gotd
20 5dcb3a43 2023-04-01 thomas
21 5dcb3a43 2023-04-01 thomas .if ${GOT_RELEASE} != "Yes"
22 5dcb3a43 2023-04-01 thomas NOMAN = Yes
23 5dcb3a43 2023-04-01 thomas .endif
24 5dcb3a43 2023-04-01 thomas
25 5dcb3a43 2023-04-01 thomas realinstall:
26 5dcb3a43 2023-04-01 thomas ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
27 5dcb3a43 2023-04-01 thomas -m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
28 5dcb3a43 2023-04-01 thomas
29 5dcb3a43 2023-04-01 thomas .include <bsd.prog.mk>