File: Makefile

package info (click to toggle)
libpandoc-elements-perl 0.38-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 732 kB
  • sloc: perl: 1,630; makefile: 15; sh: 1
file content (12 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# Usage:
# $ make -f xt/Makefile
PANDOC_BINDIR = $(wildcard ~/.pandoc/bin)

PANDOC_BINARIES = $(notdir $(wildcard ${PANDOC_BINDIR}/pandoc-*))

test: $(addprefix test-,$(PANDOC_BINARIES))
$(addprefix test-,$(PANDOC_BINARIES)): test-%:
	RELEASE_TESTING=1 prove -lfv -Pandoc="$(PANDOC_BINDIR)/$*" t

index.html: ../lib/Pandoc/Elements.pm 
	pod2pandoc $< -s -S --toc -o $@