File: rules

package info (click to toggle)
ocaml-soundtouch 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 512 kB
  • ctags: 71
  • sloc: sh: 3,180; cpp: 199; makefile: 73; ml: 44
file content (19 lines) | stat: -rwxr-xr-x 610 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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

# In order to regenerate 'debian/control' :
#   DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
# Then check manually if everything's ok

DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore
DEB_DH_INSTALL_ARGS :=  --list-missing

build/libsoundtouch-ocaml-dev::
	mkdir -p $(DESTDIR)

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