File: rules

package info (click to toggle)
ocaml-flac 0.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 656 kB
  • ctags: 305
  • sloc: sh: 3,180; ansic: 1,056; ml: 797; makefile: 79
file content (17 lines) | stat: -rwxr-xr-x 574 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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
DEB_CONFIGURE_SCRIPT  := ./configure
DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore

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

clean::
	rm -rf examples/Makefile.decode examples/Makefile.encode .pc config.h Makefile src/Makefile src/META doc config.log config.status