File: rules

package info (click to toggle)
erlang-ranch 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 668 kB
  • sloc: erlang: 2,368; makefile: 45
file content (28 lines) | stat: -rwxr-xr-x 608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f

PACKAGE=ranch
include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_build:
	make SKIP_DEPS=yes
	make docs SKIP_DEPS=yes
 

override_dh_auto_install:
	dh_auto_install
	install -d \
 		$(CURDIR)/debian/erlang-$(PACKAGE)/usr/lib/erlang/lib/$(PACKAGE)-$(DEB_VERSION_UPSTREAM)/ebin
	install -m 644 ebin/* \
		$(CURDIR)/debian/erlang-$(PACKAGE)/usr/lib/erlang/lib/$(PACKAGE)-$(DEB_VERSION_UPSTREAM)/ebin/

override_dh_gencontrol-arch:
	erlang-depends -a -perlang-ranch
	dh_gencontrol -a -perlang-ranch

override_dh_compress:
	dh_compress -X.erl -X.beam -X.md

override_dh_auto_test: