24 lines
697 B
Makefile
Executable File
24 lines
697 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_auto_configure:
|
|
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)"
|