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
|
#!/usr/bin/make -f
#export DH_VERBOSE = 1
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- -DBUILD_TESTS=OFF -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
override_dh_auto_build:
dh_auto_build -- all docs
override_dh_auto_test:
dh_auto_test -- examples
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) -C debian/t
endif
override_dh_auto_clean:
$(MAKE) -C debian/t clean
dh_auto_clean
override_dh_installdocs:
dh_installdocs
# deduplicate *.js
hardlink -t -v debian/opencl-clhpp-headers-doc/usr/share/doc/opencl-clhpp-headers/html/search
|