File: rules

package info (click to toggle)
ocaml-ladspa 0.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 596 kB
  • sloc: sh: 3,218; ansic: 390; ml: 212; makefile: 97
file content (20 lines) | stat: -rwxr-xr-x 430 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/ocaml/ocamlvars.mk

DESTDIR = $(CURDIR)/debian/tmp

%:
	dh $@ --with ocaml

override_dh_autoreconf:
	./bootstrap

override_dh_auto_build:
	dh_auto_build
	$(MAKE) doc

override_dh_auto_install:
	mkdir -p $(DESTDIR)$(OCAML_STDLIB_DIR) $(DESTDIR)$(OCAML_DLL_DIR)
	$(MAKE) install OCAMLFIND_DESTDIR=$(DESTDIR)$(OCAML_STDLIB_DIR) OCAMLFIND_LDCONF=ignore
	rm -f $(DESTDIR)$(OCAML_DLL_DIR)/*.owner