File: rules

package info (click to toggle)
ocaml-visitors 20180513-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,640 kB
  • sloc: ml: 4,063; makefile: 120; sh: 13
file content (28 lines) | stat: -rwxr-xr-x 425 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
22
23
24
25
26
27
28
#!/usr/bin/make -f

ODESTDIR = $(CURDIR)/debian/libppx-visitors-ocaml-dev/usr/lib/ocaml

%:
	dh $@ --with ocaml

override_dh_auto_build:
	# do nothing

build-arch:
	$(MAKE)

build-indep:
	cd doc && $(MAKE)

override_dh_auto_install:
	# do nothing

override_dh_install-arch:
	mkdir -p $(ODESTDIR)
	OCAMLFIND_DESTDIR=$(ODESTDIR) make install

override_dh_install-indep:
	dh_installdocs -i

override_dh_auto_test:
	# do nothing