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: installheaders:
@if [ ! -f ./src/version.h ]; 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
rm -fr ${PREFIX}/include/hyprland
mkdir -p ${PREFIX}/include/hyprland mkdir -p ${PREFIX}/include/hyprland
mkdir -p ${PREFIX}/include/hyprland/protocols mkdir -p ${PREFIX}/include/hyprland/protocols
mkdir -p ${PREFIX}/include/hyprland/wlroots mkdir -p ${PREFIX}/include/hyprland/wlroots