File: rules

package info (click to toggle)
ocaml-gnuplot 0.8.3-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 368 kB
  • ctags: 522
  • sloc: ml: 2,147; makefile: 185
file content (21 lines) | stat: -rwxr-xr-x 341 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
20
21
#!/usr/bin/make	 -f

include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with ocaml

override_dh_auto_build:
ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
	$(MAKE)
else
	$(MAKE) byte
endif
	make doc

override_dh_auto_clean:
	# hack to avoid removal of debian/rules when building from git
	chmod 644 debian/rules
	make dist-clean
	chmod 755 debian/rules