File: rules

package info (click to toggle)
ppx-derivers 1.2-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 92 kB
  • sloc: makefile: 26; ml: 19
file content (13 lines) | stat: -rwxr-xr-x 348 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
PDIR := $(CURDIR)/debian/libppx-derivers-ocaml-dev
LIBDIR := $(PDIR)/usr/lib/ocaml

%:
	dh $@ --with ocaml

# upstream's install target is for opam
override_dh_auto_install:
	mkdir -p $(LIBDIR)
	jbuilder install --prefix=$(PDIR) --libdir=$(LIBDIR)
	# temporary fix until jbuilder install has a --docdir option
	rm -r $(PDIR)/doc