diff options
Diffstat (limited to 'dviware/dvisvgm/Makefile.am')
-rw-r--r-- | dviware/dvisvgm/Makefile.am | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dviware/dvisvgm/Makefile.am b/dviware/dvisvgm/Makefile.am new file mode 100644 index 0000000000..2bb31ddd4d --- /dev/null +++ b/dviware/dvisvgm/Makefile.am @@ -0,0 +1,30 @@ +## This file is part of dvisvgm +## Copyright (C) 2005-2019 Martin Gieseking <martin.gieseking@uos.de> +## +## Process this file with automake. + +AUTOMAKE_OPTIONS = foreign +EXTRA_DIST = COPYING +SUBDIRS = libs m4 src tests doc +ACLOCAL_AMFLAGS = -I m4 + +if USE_BUNDLED_LIBS +AM_DISTCHECK_CONFIGURE_FLAGS = --enable-bundled-libs +endif + +if CODE_COVERAGE_ENABLED +lcov_dir=$(top_builddir)/lcov +lcov_file=$(lcov_dir)/lcov.info + +lcov-report: + @mkdir -p $(lcov_dir) + lcov --capture --directory . --no-external -o $(lcov_file) + genhtml --title "dvisvgm" --num-spaces 2 --legend -o $(lcov_dir) $(lcov_file) + +lcov-clean: + @rm -rf $(lcov_dir) + @find . -name "*.gcda" -exec rm {} \; + lcov --zerocounters --directory . + +coverage: lcov-clean check lcov-report +endif |