File: Makefile.am

package info (click to toggle)
dvisvgm 3.5%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,968 kB
  • sloc: cpp: 82,173; ansic: 33,458; makefile: 918; xml: 201; python: 177; sh: 99
file content (35 lines) | stat: -rw-r--r-- 819 bytes parent folder | download | duplicates (2)
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
## This file is part of dvisvgm
## Copyright (C) 2005-2025 Martin Gieseking <martin.gieseking@uos.de>
##
## Process this file with automake.

include $(top_srcdir)/aminclude_static.am

AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = COPYING
SUBDIRS = libs src
if !TEXLIVE_BUILD
SUBDIRS += tests doc
endif
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