gamescope/debian/rules
Ward Nakchbandi be37194712 fix conflicts
2023-02-25 19:54:15 +03:00

21 lines
726 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/x86_64-linux-gnu/libliftoff.a
rm -rf debian/gamescope/usr/lib/x86_64-linux-gnu/libwlroots.a
rm -rf debian/gamescope/usr/lib/x86_64-linux-gnu/libdisplay-info.a
rm -rf debian/gamescope/usr/lib/x86_64-linux-gnu/pkgconfig/libliftoff.pc
rm -rf debian/gamescope/usr/lib/x86_64-linux-gnu/pkgconfig/wlroots.pc
rm -rf debian/gamescope/usr/lib/x86_64-linux-gnu/pkgconfig/display-info.pc
%:
dh $@