File: rules

package info (click to toggle)
projectm 3.1.12-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 42,424 kB
  • sloc: cpp: 57,701; ansic: 11,480; sh: 4,304; makefile: 427
file content (23 lines) | stat: -rwxr-xr-x 610 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CFLAGS:= -lpthread $(CFLAGS)
LDFLAGS:= -lpthread $(LDFLAGS)

%:
	dh $@
	
execute_before_dh_autoreconf:
	# Copy the fixed ax_have_qt.m4 file. See #965273
	cp -f /usr/share/aclocal/ax_have_qt.m4 m4/autoconf-archive/ax_have_qt.m4

override_dh_auto_configure:
	dh_auto_configure -- --enable-gles
	
override_dh_auto_install:
	dh_auto_install
	# Clean installation
	rm $(CURDIR)/debian/tmp/usr/share/projectM/presets/*.so
	rm $(CURDIR)/debian/tmp/usr/share/projectM/presets/.*DS_Store
	find debian/tmp -name '*.a' -delete -or -name '*.la' -delete