File: rules

package info (click to toggle)
lcm 1.3.1%2Brepack1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,848 kB
  • sloc: ansic: 16,186; java: 6,843; cs: 2,266; cpp: 1,594; python: 989; makefile: 352; xml: 252; sh: 59
file content (26 lines) | stat: -rwxr-xr-x 568 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 DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@

override_dh_auto_build:
	dh_auto_build

override_dh_auto_install:
	dh_auto_install
	find debian/tmp -name '*.la' -delete

# I build the docs after the 'make install' because the python docs require an installed lcm
	cd docs; ./build-docs.sh

override_dh_installdocs:
	dh_installdocs
	# Remove example makefile which contains build paths and
	# binary paths
	rm -vf debian/liblcm-doc/usr/share/doc/liblcm-dev/examples/Makefile

override_dh_auto_clean:
	dh_auto_clean
	rm -rf docs/html