File: rules

package info (click to toggle)
latex-make 2.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 572 kB
  • sloc: sh: 309; makefile: 237
file content (28 lines) | stat: -rwxr-xr-x 559 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_configure:
	./configure --prefix=/usr --texmf-prefix=/usr/share/texmf

override_dh_install:
	dh_install
	dh_installtex

override_dh_missing:
	dh_missing --fail-missing

# lualatex needs a writable HOME directory (see #855930)
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	mkdir -p $(CURDIR)/temp_home
	env HOME=$(CURDIR)/temp_home dh_auto_test --
endif

override_dh_auto_clean:
	$(RM) -rf $(CURDIR)/temp_home
	dh_auto_clean