[go: up one dir, main page]

File: rules

package info (click to toggle)
freeglut 2.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,776 kB
  • ctags: 4,911
  • sloc: ansic: 22,574; sh: 12,927; cpp: 182; makefile: 178
file content (27 lines) | stat: -rwxr-xr-x 735 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
27
#!/usr/bin/make -f

%:
	dh $@ --parallel --with autoreconf

DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

export DEB_BUILD_MAINT_OPTIONS := hardening=+all

extra_flags = \
	--host="$(DEB_HOST_GNU_TYPE)" \
	--build="$(DEB_BUILD_GNU_TYPE)" \
	--prefix="/usr" \
	--mandir="/usr/share/man" \
	--infodir="/usr/share/info" \

override_dh_auto_configure:
	dh_auto_configure -- $(extra_flags)
	sed -i '18d' $(CURDIR)/doc/index.html # Clean from non-free logo

override_dh_auto_install-arch:
	dh_auto_install -a -- DESTDIR=$(CURDIR)/debian/tmp
	find . -name '*.la' -print0 | xargs -0 rm -f

override_dh_strip:
	dh_strip --dbg-package=freeglut3-dbg