makefile: Remove old headers first (#5316)

Windows.cpp was moved and I found myself having both versions in my include. Clear out the headers before dumping new ones.
This commit is contained in:
Muhamed Hobi 2024-03-29 10:07:33 -04:00 committed by GitHub
parent fcd9d77b64
commit 53aa184d20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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