File: rules

package info (click to toggle)
omd 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,424 kB
  • sloc: ml: 9,312; makefile: 18
file content (13 lines) | stat: -rwxr-xr-x 390 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
export DH_VERBOSE = 1

include /usr/share/ocaml/ocamlvars.mk

VERSION := $(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
MAN_NAME_SECTION="Markdown frontend in pure OCaml"

%:
	dh $@ --with ocaml --buildsystem ocaml_dune

execute_after_dh_auto_install:
	help2man $(CURDIR)/debian/tmp/usr/bin/omd --name=$(MAN_NAME_SECTION) --version-string=$(VERSION) > debian/omd.1