File: rules

package info (click to toggle)
syslog-ocaml 1.4-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 260 kB
  • ctags: 173
  • sloc: ml: 414; makefile: 36; ansic: 26
file content (18 lines) | stat: -rwxr-xr-x 335 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@ --with ocaml

export NO_CUSTOM = yes

ifneq ($(wildcard /usr/bin/ocamlopt),)
override_dh_auto_build:
	$(MAKE) reallyall
endif

export OCAMLFIND_DESTDIR = debian/tmp/$(shell /usr/bin/ocamlc -where)
export OCAMLFIND_LDCONF = ignore

override_dh_auto_install:
	mkdir -p $(OCAMLFIND_DESTDIR)
	$(MAKE) install