fix build when not git cloned

master
NRK 2021-09-17 03:35:29 +06:00 committed by N-R-K
parent 3ef355bccc
commit 7244e252aa
1 changed files with 2 additions and 0 deletions

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