Blame


1 aeb03748 2019-01-02 stsp SUBDIR = libexec got tog
2 079b2f65 2018-09-08 stsp
3 33147df7 2020-01-07 semarie .PHONY: release dist
4 33147df7 2020-01-07 semarie
5 c8d81600 2019-08-08 stsp .if make(regress) || make(obj) || make(clean) || make(release)
6 2c251c14 2020-01-15 tracey SUBDIR += regress gotweb
7 aeb03748 2019-01-02 stsp .endif
8 aeb03748 2019-01-02 stsp
9 53ccebc2 2019-07-30 stsp .include "got-version.mk"
10 53ccebc2 2019-07-30 stsp
11 53ccebc2 2019-07-30 stsp release: clean
12 53ccebc2 2019-07-30 stsp sed -i -e "s/_RELEASE=No/_RELEASE=Yes/" got-version.mk
13 53ccebc2 2019-07-30 stsp ${MAKE} dist
14 53ccebc2 2019-07-30 stsp sed -i -e "s/_RELEASE=Yes/_RELEASE=No/" got-version.mk
15 53ccebc2 2019-07-30 stsp
16 53ccebc2 2019-07-30 stsp dist: clean
17 53ccebc2 2019-07-30 stsp mkdir /tmp/got-${GOT_VERSION}
18 53ccebc2 2019-07-30 stsp pax -rw * /tmp/got-${GOT_VERSION}
19 53ccebc2 2019-07-30 stsp find /tmp/got-${GOT_VERSION} -name obj -type d -delete
20 53ccebc2 2019-07-30 stsp rm /tmp/got-${GOT_VERSION}/got-dist.txt
21 53ccebc2 2019-07-30 stsp tar -C /tmp -zcf got-${GOT_VERSION}.tar.gz got-${GOT_VERSION}
22 53ccebc2 2019-07-30 stsp rm -rf /tmp/got-${GOT_VERSION}
23 53ccebc2 2019-07-30 stsp tar -ztf got-${GOT_VERSION}.tar.gz | sed -e 's/^got-${GOT_VERSION}//' \
24 e4c54b95 2019-08-08 stsp | sort > got-dist.txt.new
25 53ccebc2 2019-07-30 stsp diff -u got-dist.txt got-dist.txt.new
26 53ccebc2 2019-07-30 stsp rm got-dist.txt.new
27 53ccebc2 2019-07-30 stsp
28 2c251c14 2020-01-15 tracey web:
29 2c251c14 2020-01-15 tracey sed -i -e "s/MAKEWEB=No/MAKEWEB=Yes/" got-version.mk
30 2c251c14 2020-01-15 tracey ${MAKE} -C gotweb
31 2c251c14 2020-01-15 tracey sed -i -e "s/MAKEWEB=Yes/MAKEWEB=No/" got-version.mk
32 2c251c14 2020-01-15 tracey
33 2c251c14 2020-01-15 tracey web-install:
34 2c251c14 2020-01-15 tracey sed -i -e "s/MAKEWEB=No/MAKEWEB=Yes/" got-version.mk
35 2c251c14 2020-01-15 tracey ${MAKE} -C gotweb install
36 2c251c14 2020-01-15 tracey sed -i -e "s/MAKEWEB=Yes/MAKEWEB=No/" got-version.mk
37 2c251c14 2020-01-15 tracey
38 079b2f65 2018-09-08 stsp .include <bsd.subdir.mk>