| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
export LC_ALL=C.UTF-8 |
| 5 |
|
| 6 |
include /usr/share/dpkg/default.mk |
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
CMAKE_EXTRA_FLAGS += -DDEBIAN_BUILD=1 |
| 12 |
|
| 13 |
%: |
| 14 |
dh $@ |
| 15 |
|
| 16 |
override_dh_auto_configure: |
| 17 |
dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) -DCMAKE_POLICY_VERSION_MINIMUM=3.5 |
| 18 |
|
| 19 |
override_dh_auto_test: |
| 20 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 21 |
cp $(CURDIR)/debian/missing-sources/htslib/* test |
| 22 |
cp $(CURDIR)/debian/missing-sources/ctpl/*.h test |
| 23 |
cd test && cmake . && make || true |
| 24 |
cd test && \ |
| 25 |
rm -rf external CMakeFiles Testing \ |
| 26 |
CMakeCache.txt CTestTestfile.cmake DartConfiguration.tcl \ |
| 27 |
Makefile README cmake_install.cmake ctpl_stl.h h*.h kstring.h t*.h |
| 28 |
endif |