File: rules

package info (click to toggle)
latexml 0.8.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,920 kB
  • sloc: xml: 109,048; perl: 30,224; sh: 179; javascript: 28; makefile: 13
file content (29 lines) | stat: -rwxr-xr-x 747 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
29
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

main_package=latexml

%:
	dh $@ --with tex

override_dh_auto_build:
	# Add here commands to compile the package.
	perl Makefile.PL INSTALLDIRS=vendor NOMKTEXLSR=1
	$(MAKE)

	touch build-stamp

override_dh_auto_install:
	$(MAKE) pure_install INSTALLDIRS=vendor DESTDIR=`pwd`/debian/$(main_package) \
	INSTALLTEXMFDIR=/usr/share/texmf/tex/latex/latexml
	# install documentation file
	# mkdir -p debian/latexml/usr/share/texmf/doc/latexml
	# cp manual.pdf debian/latexml/usr/share/texmf/doc/latexml/
	find debian/latexml -type f -name .packlist | xargs rm -f

# Build architecture-independent files here.
override_dh_compress:
	dh_compress -X.pdf