makefile: only require version.h before installheaders

This commit is contained in:
Vaxry 2023-12-06 15:31:23 +00:00
parent 03c6f4506a
commit c4bd91ec8a

View File

@ -68,7 +68,7 @@ pluginenv:
@exit 1
installheaders:
@if [ ! -f ./build/Hyprland ]; then echo -en "You need to run $(MAKE) all first.\n" && exit 1; fi
@if [ ! -f ./src/version.h ]; then echo -en "You need to run $(MAKE) all first.\n" && exit 1; fi
mkdir -p ${PREFIX}/include/hyprland
mkdir -p ${PREFIX}/include/hyprland/protocols