Simplify debian/rules
- Remove un-needed targets - Skip dh_auto_test The tests succeed only if a valid hyprland cursor theme is installed.
This commit is contained in:
parent
b735670375
commit
c1cb3a2ac7
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
# You must remove unused comment lines for the released package.
|
|
||||||
#export DH_VERBOSE = 1
|
#export DH_VERBOSE = 1
|
||||||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||||
|
|
@ -8,16 +7,5 @@
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_test:
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
:
|
||||||
|
|
||||||
override_dh_auto_build:
|
|
||||||
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
|
||||||
|
|
||||||
override_dh_auto_clean:
|
|
||||||
rm -rf build/
|
|
||||||
dh_clean
|
|
||||||
|
|
||||||
#override_dh_auto_configure:
|
|
||||||
# dh_auto_configure -- \
|
|
||||||
# -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)"
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue