fix build when not git cloned
This commit is contained in:
parent
3ef355bccc
commit
7244e252aa
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue