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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
#!/usr/bin/make -f
# Ensure texlive respects SOURCE_DATE_EPOCH for reproducible
# timestamps
export FORCE_SOURCE_DATE=1
doc/dlt_viewer_user_manual.pdf: doc/dlt_viewer_user_manual.tex
cd doc && \
pdflatex $(^F) && \
pdflatex $(^F) && \
cd ..
$(RM) doc/dlt_viewer_user_manual.aux \
doc/dlt_viewer_user_manual.log \
doc/dlt_viewer_user_manual.out \
doc/dlt_viewer_user_manual.toc
doc/dlt_viewer_plugins_programming_guide.pdf: doc/dlt_viewer_plugins_programming_guide.txt
cd doc && sh convert.sh && cd ..
%:
dh $@
#FIXME https://github.com/COVESA/dlt-viewer/issues/707
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dh_auto_test
./obj-*/qdlt/tests/test_dltmessagematcher
./obj-*/qdlt/tests/test_dltoptmanager
./obj-*/qdlt/tests/test_qdltargument || true
endif
override_dh_auto_configure:
dh_auto_configure -- \
-DDLT_USE_STANDARD_INSTALLATION_LOCATION=ON \
-DDLT_USE_QT_RPATH=OFF \
-DDLT_PARSER=ON \
-DDLT_DUMMY_PLUGINS=ON \
-DDLT_INSTALL_SDK=OFF
override_dh_auto_install: doc/dlt_viewer_user_manual.pdf doc/dlt_viewer_plugins_programming_guide.pdf
dh_auto_install
override_dh_clean:
$(RM) doc/dlt_viewer_plugins_programming_guide.pdf \
doc/dlt_viewer_user_manual.pdf \
debian/doc-stamp
dh_clean
|