File: rules

package info (click to toggle)
projectm 2.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 32,256 kB
  • ctags: 13,810
  • sloc: cpp: 31,087; ansic: 26,914; sh: 816; makefile: 20
file content (33 lines) | stat: -rwxr-xr-x 882 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
28
29
30
31
32
33
#!/usr/bin/make -f

# Use this variable to pass configure options for projectM to cmake
PROJECTM_CMAKE_FLAGS = \
		-DprojectM_FONT_TITLE="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf" \
		-DprojectM_FONT_MENU="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf" \
		-DINCLUDE-PROJECTM-TEST=OFF \
		-DINCLUDE-PROJECTM-JACK=ON

# Define install target dir
INSTALLDIR = $(CURDIR)/debian/tmp

# ProjectM source and build dir
SRCDIR = $(CURDIR)/src
BUILDDIR = $(SRCDIR)/build

%:
	dh $@ --list-missing --sourcedirectory=$(SRCDIR) --builddirectory=$(BUILDDIR)
.PHONY: override_dh_strip

override_dh_auto_clean:
	dh_auto_clean
	# Make sure builddir is gone
	rm -rf $(BUILDDIR)

override_dh_auto_configure:
	dh_auto_configure -- $(PROJECTM_CMAKE_FLAGS)

override_dh_auto_install:
	dh_auto_install --destdir=$(INSTALLDIR)

override_dh_strip:
	dh_strip --dbg-package=projectm-dbg