nsxiv7244e25
fix build when not git cloned
+2 −0
1 file changed
- M Makefile +2 −0
| @@ -72,6 +72,8 @@ version.h: Makefile .git/index | |||
| 72 | 72 | v="$$(git describe 2>/dev/null)"; \ | |
| 73 | 73 | echo "#define VERSION \"$${v:-$(VERSION)}\"" >$@ | |
| 74 | 74 | ||
| 75 | + | .git/index: | |
| 76 | + | ||
| 75 | 77 | clean: | |
| 76 | 78 | $(RM) *.o nsxiv | |
| 77 | 79 | ||