File: Makefile

package info (click to toggle)
liquidsoap 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,372 kB
  • sloc: ml: 71,806; javascript: 27,320; ansic: 398; xml: 114; sh: 99; lisp: 96; makefile: 26
file content (17 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
MD = $(wildcard content/*.md)

all: dune
	@dune build @doc

test: dune
	@for i in $(MD); do \
	echo -n "Compiling $$i... "; \
	pandoc $$i -t json | pandoc-include --directory "content/liq" | pandoc -f json --metadata title="bla" --template=template.html -o /tmp/`basename $$i .md`.html; \
	echo "done"; \
	done
	@dune build @doctest

dune:
	@dune build @gendune --auto-promote

.PHONY: dune