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
|
#!/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)
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)
|