# $FreeBSD$ SUBDIR= ${_ggatessh} \ tests _ggatessh= ggatessh .PHONY: devtest devtest: find [gst]* -type f -name '*.c' -o -name 'Makefile*' -o -name '*.sh' -o -name '*.8' | entr sh -c '(set -o pipefail; make -j 4 2>&1 | head -n 30) && make install -j 4 && (kyua test -k /usr/tests/Kyuafile sbin/ggatessh || (cd /usr/tests && kyua report --verbose))' VERSION!= git tag --points-at dist: .if empty(VERSION) @echo 'Failed to find version tag!' && exit 1 .endif @mkdir ${VERSION} @git archive --prefix ${VERSION}/ ${VERSION} | tar -xf - # run autoreconf @cd ${VERSION}/libssh2 && autoreconf -fi @tar -cJf ${VERSION}.tar.xz ${VERSION} updatelibssh2: git subtree merge --squash -P libssh2 https://github.com/libssh2/libssh2.git master .include