File: rules

package info (click to toggle)
erlang-cowboy 2.0.0~pre.1+dfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,120 kB
  • sloc: erlang: 10,122; makefile: 102; sh: 14
file content (19 lines) | stat: -rwxr-xr-x 524 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

override_dh_installdocs-indep:
	dh_installdocs

	mv $(CURDIR)/debian/erlang-cowboy-doc/usr/share/doc/erlang-cowboy/doc \
		$(CURDIR)/debian/erlang-cowboy-doc/usr/share/doc/erlang-cowboy-doc/edoc
	rm -rf $(CURDIR)/debian/erlang-cowboy-doc/usr/share/doc/erlang-cowboy-doc/edoc/overview.edoc


override_dh_installexamples-indep:
	dh_installexamples

override_dh_auto_clean:
	rm -rf doc/*.html doc/*.png doc/*.css doc/edoc-info
	rm -rf ebin/*.beam ebin/cowboy.app