aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-09-16 23:35:29 +0200
committerN-R-K <79544946+N-R-K@users.noreply.github.com>2021-09-17 01:20:44 +0200
commit7244e252aa844dd7d702b9bde9713d2ca65e3603 (patch)
treed7b9ce752a6eeb4ef8e028715a8c4109853db19e
parent3ef355bccc6fe0adc853d08550299fdf55b4c188 (diff)
downloadnsxiv-7244e252aa844dd7d702b9bde9713d2ca65e3603.tar.zst
fix build when not git cloned
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9b1927c..72b5b3b 100644
--- a/Makefile
+++ b/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