File: rules

package info (click to toggle)
guichan 0.8.2-18
  • links: PTS
  • area: main
  • in suites: buster
  • size: 3,688 kB
  • ctags: 2,094
  • sloc: cpp: 15,578; sh: 10,130; makefile: 252
file content (21 lines) | stat: -rwxr-xr-x 443 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
#!/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_install:
	dh_install
	find  $(CURDIR)/debian/libguichan-dev/usr/lib/$(DEB_HOST_MULTIARCH)/ \
		-type f -name lib\*.a \
		-exec strip --remove-section=.comment {} \;