File: makefile

package info (click to toggle)
mlt 7.34.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 14,524 kB
  • sloc: cpp: 86,938; ansic: 78,320; python: 504; asm: 311; sh: 221; ruby: 197; javascript: 90; makefile: 46; perl: 33; java: 29; cs: 19; php: 18; tcl: 15
file content (33 lines) | stat: -rw-r--r-- 1,204 bytes parent folder | download
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
default:
	@echo This Makefile is not used for building. Use CMake instead.
	@echo Rather, this makefile is purely for holding some maintenance routines.

dist:
	git archive --format=tar --prefix=mlt-$(version)/ v$(version) | gzip >mlt-$(version).tar.gz

validate-yml:
	for file in $$(find src/modules -maxdepth 2 -type f -name \*.yml \! -name resolution_scale.yml); do \
		echo "validate: $$file"; \
		kwalify -f src/framework/metaschema.yaml $$file || exit 1; \
	done

codespell:
	codespell -w -q 3 \
	-L shotcut,sav,boundry,percentil,readded,uint,ith,sinc,amin,childs,seeked,writen \
	-S ChangeLog,cJSON.c,cJSON.h,RtAudio.cpp,RtAudio.h,*.rej,mlt_wrap.*

cppcheck:
	cppcheck src/ --force --quiet --inline-suppr --library=qt --error-exitcode=1 \
		-j $(shell nproc) \
		-i src/modules/decklink/darwin \
		-i src/modules/decklink/linux \
		-i src/modules/decklink/win \
		-i src/modules/glaxnimate/glaxnimate/ \
		-i src/modules/plus/ebur128/ \
		-i src/modules/xml/common.c \
		-i src/win32/strptime.c \
		--include=src/framework/mlt_log.h \
		--include=src/framework/mlt_types.h \
		--library=cppcheck.cfg \
		--suppress=ctuOneDefinitionRuleViolation \
		--suppress=syntaxError:src/modules/xml/common.c