30 lines
994 B
Makefile
Executable File
30 lines
994 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# You must remove unused comment lines for the released package.
|
|
#export DH_VERBOSE = 1
|
|
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
|
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_makeshlibs:
|
|
:
|
|
override_dh_auto_install:
|
|
chrpath -r /usr/lib/hyprland build/Hyprland
|
|
dh_auto_install -- PREFIX=/usr
|
|
override_dh_clean:
|
|
dh_clean
|
|
# call clear target provided by Hyprland
|
|
make clear
|
|
# clean up some directories created during the build
|
|
rm -rf subprojects/wlroots/src/wlroots-stamp
|
|
rm -f subprojects/udis86/libudis86/itab*
|
|
rm -rf subprojects/wlroots/tmp
|
|
# Hyprland made this change. Revert it or dpkg-source will complain that
|
|
# meson.build does not match the one in the original source tarball
|
|
sed -E -i -e 's/soversion = 13032/soversion = 13/g' subprojects/wlroots/meson.build
|
|
#override_dh_auto_configure:
|
|
# dh_auto_configure -- \
|
|
# -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)"
|