File: rules

package info (click to toggle)
guichan 0.8.2-20
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,724 kB
  • sloc: cpp: 15,578; sh: 10,130; makefile: 255
file content (25 lines) | stat: -rwxr-xr-x 579 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_CONFIGURE_EXTRA_FLAGS := \
	--enable-sdl \
	--enable-sdlimage \
	--enable-opengl \
	--enable-allegro

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)

override_dh_installexamples:
	dh_installexamples
	rm -f $(CURDIR)/debian/libguichan-dev/usr/share/doc/libguichan-dev/examples/Makefile

override_dh_install:
	dh_install
	find  $(CURDIR)/debian/libguichan-dev/usr/lib/$(DEB_HOST_MULTIARCH)/ \
		-type f -name lib\*.a \
		-exec strip --remove-section=.comment {} \;