File: rules

package info (click to toggle)
cmdliner 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 460 kB
  • sloc: ml: 2,977; makefile: 60
file content (21 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-

DESTDIR=$(CURDIR)/debian/tmp

export BUILD_PATH_PREFIX_MAP=/usr/src/cmdliner=$(CURDIR)

%:
	dh $@ --with ocaml --no-parallel

.PHONY: override_dh_auto_install
override_dh_auto_install:
	make DESTDIR=$(DESTDIR) install

.PHONY: override_dh_install
override_dh_install:
	dh_install --exclude=opam

.PHONY: override_dh_missing
override_dh_missing:
	dh_missing --fail-missing