fix build when not git cloned

This commit is contained in:
NRK 2021-09-17 03:35:29 +06:00 committed by N-R-K
parent 3ef355bccc
commit 7244e252aa

View File

@ -72,6 +72,8 @@ version.h: Makefile .git/index
v="$$(git describe 2>/dev/null)"; \
echo "#define VERSION \"$${v:-$(VERSION)}\"" >$@
.git/index:
clean:
$(RM) *.o nsxiv