File: rules

package info (click to toggle)
ocaml-vorbis 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 672 kB
  • sloc: sh: 3,263; ml: 887; ansic: 724; makefile: 93
file content (16 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/ocaml.mk

DEB_CONFIGURE_EXTRA_FLAGS := --enable-debugging
DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore

build/libvorbis-ocaml-dev::
	mkdir -p $(DESTDIR)
	make doc

clean::
	rm -rf src/Makefile src/META doc config.log config.status