File: rules

package info (click to toggle)
erlang-cl 1.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 708 kB
  • sloc: ansic: 6,712; erlang: 3,637; lisp: 490; makefile: 191
file content (26 lines) | stat: -rwxr-xr-x 718 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
#! /usr/bin/make -f

v = 1.2.3

%:
	dh $@ --buildsystem=rebar --with rebar

override_dh_clean:
	dh_clean doc/*.html doc/*.css doc/erlang.png doc/edoc-info

override_dh_gencontrol:
	erlang-depends
	dh_gencontrol

override_dh_compress:
	dh_compress -X.erl -X.cl
	# remove useless files and fix html dir
	rm -f debian/erlang-cl/usr/share/doc/erlang-cl/doc/*.edoc
	rm -f debian/erlang-cl/usr/share/doc/erlang-cl/doc/.gitignore
	mv debian/erlang-cl/usr/share/doc/erlang-cl/doc \
	   debian/erlang-cl/usr/share/doc/erlang-cl/html

get-orig-source:
	wget -O erlang-cl_$(v).orig.tar.gz https://github.com/tonyrog/cl/archive/cl-$(v).tar.gz

.PHONY: override_dh_clean override_dh_gencontrol override_dh_compress get-orig-source