1 aeb03748 2019-01-02 stsp SUBDIR = libexec got tog
2 53ccebc2 2019-07-30 stsp .PHONY=release dist
4 c8d81600 2019-08-08 stsp .if make(regress) || make(obj) || make(clean) || make(release)
5 aeb03748 2019-01-02 stsp SUBDIR += regress
8 53ccebc2 2019-07-30 stsp .include "got-version.mk"
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
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 e4c54b95 2019-08-08 stsp | sort > 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
27 079b2f65 2018-09-08 stsp .include <bsd.subdir.mk>