Blame


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