File: rules

package info (click to toggle)
erlang-proper 1.2+git988ea0ed9f+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 992 kB
  • sloc: erlang: 11,684; sh: 65; makefile: 49
file content (19 lines) | stat: -rwxr-xr-x 478 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_auto_build:
	dh_auto_build
	./make_doc

override_dh_auto_clean:
	dh_auto_clean
	rm -f include/compile_flags.hrl

override_dh_installdocs-indep:
	dh_installdocs

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