File: rules

package info (click to toggle)
cmigrep 1.5-14
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 788 kB
  • sloc: ml: 1,254; lisp: 386; makefile: 86; sh: 26
file content (19 lines) | stat: -rwxr-xr-x 350 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

DOCDIR = debian/cmigrep/usr/share/doc/cmigrep
OCAMLABI := $(shell ocamlc -version)

%:
	dh $@

override_dh_auto_build:
	$(MAKE) byte

# cmigrep binary is installed by dh_install
override_dh_auto_install:
	mkdir -p $(DOCDIR)
	cp Changes $(DOCDIR)/changelog

override_dh_gencontrol:
	dh_gencontrol -i -- -VF:OCamlABI="$(OCAMLABI)"