File: rules

package info (click to toggle)
enet 1.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,448 kB
  • sloc: sh: 10,131; ansic: 4,364; makefile: 34
file content (24 lines) | stat: -rwxr-xr-x 391 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
#!/usr/bin/make -f

CFLAGS += -W -Wall -fPIC

%:
	dh $@

override_dh_auto_configure:
	ln -sf /usr/share/misc/config.sub /usr/share/misc/config.guess .
	dh_auto_configure

override_dh_auto_build:
	dh_auto_build
	doxygen

override_dh_clean:
	[ ! -d docs/html ] || rm -r docs/html/
	dh_clean

override_dh_strip:
	dh_strip --dbg-package=libenet1a-dbg

override_dh_builddeb:
	dh_builddeb -- -Zxz