1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
%:
dh $@ -B bdir
override_dh_auto_configure-arch:
dh_auto_configure -- \
-DFMT_DOC=off -DFMT_PEDANTIC=on -DCMAKE_POSITION_INDEPENDENT_CODE=on \
-DBUILD_SHARED_LIBS=on \
-DCMAKE_CXX_STANDARD=11
override_dh_auto_configure-indep:
override_dh_auto_build-indep:
PYTHONPATH=$(CURDIR)/support/python mkdocs build -f ./support/mkdocs.yml \
--no-directory-urls -t mkdocs -d $(CURDIR)/bdir/libfmt-doc/
override_dh_auto_test-indep:
override_dh_auto_install-indep:
mkdir -p debian/tmp/usr/share/doc
cp -vr bdir/libfmt-doc debian/tmp/usr/share/doc/
|