1 SUBDIR = libexec got tog gotadmin
5 .if make(regress) || make(obj) || make(clean) || make(release)
9 .if make(clean) || make(obj) || make(release)
10 SUBDIR += gotwebd gotd gotsh gotctl template gitwrapper
13 .if make(tags) || make(cleandir)
17 .include "got-version.mk"
19 .if "${GOT_RELEASE}" != "Yes"
24 sed -i -e "s/_RELEASE=No/_RELEASE=Yes/" got-version.mk
26 sed -i -e "s/_RELEASE=Yes/_RELEASE=No/" got-version.mk
29 mkdir /tmp/got-${GOT_VERSION}
30 pax -rw * /tmp/got-${GOT_VERSION}
31 find /tmp/got-${GOT_VERSION} -name obj -type d -delete
32 rm /tmp/got-${GOT_VERSION}/got-dist.txt
33 tar -C /tmp -zcf got-${GOT_VERSION}.tar.gz got-${GOT_VERSION}
34 rm -rf /tmp/got-${GOT_VERSION}
35 tar -ztf got-${GOT_VERSION}.tar.gz | sed -e 's/^got-${GOT_VERSION}//' \
36 | sort > got-dist.txt.new
37 diff -u got-dist.txt got-dist.txt.new
44 ${MAKE} -C regress/template
50 ${MAKE} -C gotwebd install
59 ${MAKE} -C gotctl install
60 ${MAKE} -C gotd install
61 ${MAKE} -C gotsh install
62 ${MAKE} -C gitwrapper install
65 ${MAKE} -C regress/gotd
67 .include <bsd.subdir.mk>