aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-09-17 03:35:29 +0600
committerN-R-K <79544946+N-R-K@users.noreply.github.com>2021-09-17 05:20:44 +0600
commit7244e252aa844dd7d702b9bde9713d2ca65e3603 (patch)
treed7b9ce752a6eeb4ef8e028715a8c4109853db19e /Makefile
parent3ef355bccc6fe0adc853d08550299fdf55b4c188 (diff)
fix build when not git cloned
Diffstat (limited to 'Makefile')
-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