File: rules

package info (click to toggle)
erlang-asciideck 0.0+git20170714.48cbfe8b-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 796 kB
  • sloc: erlang: 738; makefile: 28
file content (27 lines) | stat: -rwxr-xr-x 597 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
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_build:
	make V=1
	make docs V=1

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-asciideck
	dh_gencontrol -a -perlang-asciideck

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

override_dh_auto_test: