From a0f1865c68166d984b2cb67451f25e76ef9cdb52 Mon Sep 17 00:00:00 2001 From: Sampo Savolainen Date: Wed, 26 Nov 2008 15:36:32 +0000 Subject: Make the wiimote code appear in the source package git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4264 d708f5d6-7413-0410-9779-e7cbd77b26cf --- SConstruct | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 2adb17394a..8996672211 100644 --- a/SConstruct +++ b/SConstruct @@ -579,10 +579,7 @@ if env['LV2']: else: print 'LV2 support is not enabled. Build with \'scons LV2=1\' to enable.' -if env['WIIMOTE']: - wiimote_surface = [ 'libs/surfaces/wiimote' ] -else: - wiimote_surface = [ ] +if not env['WIIMOTE']: print 'WIIMOTE not enabled. Build with \'scons WIIMOTE=1\' to enable support.' libraries['jack'] = LibraryInfo() @@ -1212,17 +1209,17 @@ else: # # * always build the LGPL control protocol lib, since we link against it from libardour # * ditto for generic MIDI -# * tranzport checks whether it should build internally, but we need here so that -# its included in the tarball +# * tranzport & wiimote check whether they should build internally, but we need them here +# so that they are included in the tarball # surface_subdirs = [ 'libs/surfaces/control_protocol', 'libs/surfaces/generic_midi', 'libs/surfaces/tranzport', 'libs/surfaces/mackie', - 'libs/surfaces/powermate' + 'libs/surfaces/powermate', + 'libs/surfaces/wiimote' ] -surface_subdirs += wiimote_surface if env['SURFACES']: if have_libusb: -- cgit v1.2.3