1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
PACKAGE=libcreal-ocaml-dev
include /usr/share/ocaml/ocamlvars.mk
override_dh_auto_build:
$(MAKE) depend
$(MAKE)
$(MAKE) test
override_dh_auto_clean:
[ ! -f Makefile ] || $(MAKE) clean
rm -f config.status
override_dh_auto_install:
mkdir -p $(CURDIR)/debian/$(PACKAGE)$(OCAML_STDLIB_DIR)/creal
$(MAKE) install LIBDIR=$(CURDIR)/debian/$(PACKAGE)$(OCAML_STDLIB_DIR)/creal
cp debian/META debian/$(PACKAGE)$(OCAML_STDLIB_DIR)/creal
%:
dh $@ --with ocaml
|