File: rules

package info (click to toggle)
wyrd 1.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 536 kB
  • sloc: ml: 5,041; makefile: 174; ansic: 17; sh: 14
file content (16 lines) | stat: -rwxr-xr-x 356 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export WYRD_VERSION=$(DEB_VERSION_UPSTREAM)
export PREFIX=/usr

# don't strip bytecode version (for example armel)
OCAMLBEST ?= $(shell if $(OCAMLFIND) ocamlopt --help > /dev/null 2>&1; then echo opt; else echo byte; fi)
ifeq ($(OCAMLBEST),byte)
override_dh_strip:
override_dh_dwz:
endif

%:
	dh $@