File: Makefile

package info (click to toggle)
ocaml-metadata 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 592 kB
  • sloc: ml: 1,770; makefile: 31; sh: 5
file content (21 lines) | stat: -rw-r--r-- 311 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
META = dune exec -- ./meta.exe

all: test id3v2

test:
	@dune test
	@dune build @citest

id3v2:
	@for i in id3v2/*.mp3; do \
	  echo; echo Testing $$i; echo; \
	  $(META) -b "$$i"; \
	done

test-mp3:
	@for i in ~/Music/misc/*; do \
	  echo; echo Testing $$i; echo; \
	  $(META) -b "$$i"; \
	done

.PHONY: id3v2