Skip to content

Commit

Permalink
Build: skip git submodule update --init if no .git folder is present
Browse files Browse the repository at this point in the history
This is an edge case for nixos, mostly
  • Loading branch information
phil294 committed Mar 30, 2024
1 parent 420049d commit 5c4636f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ linuxdeploy-plugin-gtk.sh linuxdeploy-x86_64.AppImage:
chmod +x linuxdeploy-*

xdotool/.git:
git submodule update --init
test -d .git && git submodule update --init || echo 'No .git folder present'

xdotool/libxdo.a: xdotool/.git
$(MAKE) -C xdotool libxdo.a
Expand Down

0 comments on commit 5c4636f

Please sign in to comment.