File: rules

package info (click to toggle)
ocaml-doc 4.11-2
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 20,580 kB
  • sloc: sh: 37; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#export DH_VERBOSE=1

include  /usr/share/dpkg/pkg-info.mk

override_dh_auto_build:
	for file in docs ocaml-doc.doc-base.ocaml; do \
		sed "s/@VERSION@/$(DEB_VERSION_UPSTREAM)/g" debian/$${file}.in > debian/$${file}; \
	done

override_dh_compress:
	dh_compress -X.pdf

override_dh_installdocs:
	dh_installdocs -X.in --doc-main-package=ocaml-doc

%:
	dh $@