.PHONY: all clean realclean distclean dist install
PACKAGE:=secnet
-VERSION:=0.4.0
+VERSION:=0.4.1
@SET_MAKE@
version.c: Makefile
echo "#include \"secnet.h\"" >$@.new
- @set -ex; if test -e .git; then \
+ @set -ex; if test -e .git && type -p git >/dev/null; then \
v=$$(git describe --match 'v*'); v=$${v#v}; \
if ! git diff --quiet HEAD; then v="$$v+"; fi; \
else \