File: rules

package info (click to toggle)
cryptgps 0.2.1-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 296 kB
  • sloc: ml: 2,627; ansic: 172; sh: 169; makefile: 118
file content (17 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download | duplicates (2)
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/rules/ocaml.mk
include /usr/share/cdbs/1/class/makefile.mk

PKGNAME = libcryptgps-ocaml-dev
DESTDIR := $(CURDIR)/debian/$(PKGNAME)$(OCAML_STDLIB_DIR)
OCAML_OCAMLDOC_PACKAGES = $(OCAML_LIBDEV_PACKAGES)
DEB_MAKE_BUILD_TARGET = all
ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
	DEB_MAKE_BUILD_TARGET += opt
endif

DEB_MAKE_INSTALL_TARGET = install OCAMLFIND_DESTDIR=$(DESTDIR)
build/$(PKGNAME)::
	mkdir -p $(DESTDIR)
	chmod +x $(CURDIR)/debian/expand_stars.sh