File: rules

package info (click to toggle)
springlobby 0.201-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 17,728 kB
  • ctags: 16,872
  • sloc: cpp: 97,957; ansic: 91,781; python: 1,225; sh: 734; perl: 238; xml: 64; makefile: 45; sed: 29
file content (26 lines) | stat: -rwxr-xr-x 559 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
#export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# Disable wxwidgets3.0 assertions
export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG

PROGDIR := $(CURDIR)/debian/tmp

%:
	dh $@ --parallel --buildsystem=cmake

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C debian/manpages

override_dh_auto_install:
	dh_auto_install
	cd $(PROGDIR)/usr/share/doc/springlobby && \
	rm -fv COPYING AUTHORS

override_dh_strip:
	dh_strip --dbg-package=springlobby-dbg

override_dh_auto_clean:
	dh_auto_clean
	$(MAKE) -C debian/manpages clean