From 1f0a47b3595754bf79dad9b0fd68dfc0a4b54076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 18 Feb 2023 06:33:20 -0300 Subject: [PATCH] Fix Makefile to support submodule setups (#329) --- GNUmakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index edeeb8a..198088d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -33,7 +33,8 @@ wayland: bemenu-renderer-wayland.so # support non git builds .git/index: - mkdir -p .git + [ -f .git ] && exit; \ + mkdir -p .git; \ touch .git/index %.a: