1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
override_dh_auto_configure:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR="lib" \
-DGLM_TEST_ENABLE=ON
else
dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR="lib" \
-DGLM_TEST_ENABLE=OFF
endif
override_dh_auto_build:
dh_auto_build
cd doc; doxygen man.doxy
override_dh_auto_clean:
dh_auto_clean
rm -rf doc/html
# NOTE: This override may be removed in the future if upstream decides to use
# the enable_testing() command in CMake.
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
make -C obj-* test
endif
|