File: rules

package info (click to toggle)
biber 2.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,496 kB
  • sloc: perl: 16,729; sh: 960; xml: 895; makefile: 19
file content (29 lines) | stat: -rwxr-xr-x 749 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
#!/usr/bin/make -f

TEST_FILES=$(filter-out t/remote-files.t,$(shell echo t/*.t))

TEXMFVAR := $(shell mktemp -d)
export TEXMFVAR

%:
	dh $@ --with tex

override_dh_auto_build:
	dh_auto_build
	# does not work at the moment
	cd doc && lualatex biber.tex && lualatex biber.tex && lualatex biber.tex
	
override_dh_auto_test:
	dh_auto_test -- test_files="$(TEST_FILES)"

override_dh_clean:
	dh_clean
	cd doc && rm -f *.aux *.log *.out *.pdf *.toc

override_dh_install:
	dh_install
	# also install the documentation and link
	mkdir -p debian/biber/usr/share/texmf/doc/bibtex/biber
	install -m 0644 doc/biber.pdf debian/biber/usr/share/texmf/doc/bibtex/biber/biber.pdf
	dh_link usr/share/texmf/doc/bibtex/biber/biber.pdf \
		usr/share/doc/biber/biber.pdf