gamescope/debian/rules
Ward Nakchbandi (Cosmic Fusion) 0a8001a695
Update rules
2023-05-11 11:44:30 +03:00

21 lines
756 B
Makefile
Executable File

#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_BUILD_OPTIONS=nocheck
override_dh_install:
dh_install
# Remove submodule conflicting files
rm -rf debian/gamescope/usr/bin/di-edid-decode
rm -rf debian/gamescope/usr/include
rm -rf debian/gamescope/usr/lib/libopenvr_api.a
rm -rf debian/gamescope/usr/lib/$(DEB_HOST_MULTIARCH)/libliftoff.a
rm -rf debian/gamescope/usr/lib/$(DEB_HOST_MULTIARCH)/libwlroots.a
rm -rf debian/gamescope/usr/lib/$(DEB_HOST_MULTIARCH)/libdisplay-info.a
rm -rf debian/gamescope/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/libliftoff.pc
rm -rf debian/gamescope/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/wlroots.pc
rm -rf debian/gamescope/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/display-info.pc
%:
dh $@