1#!/usr/bin/perl
2
3use strict;
4use FindBin qw($Bin);
5
6my $props = "$Bin/local.properties";
7unless (-e $props) {
8    die "\n".
9        "**************************************************************\n".
10        "Can't build the Camlistore Android client; SDK not configured.\n".
11        "If you have the android SDK installed, you need to create your\n".
12        "$props file,\n".
13        "and set sdk.dir. See local.properties.TEMPLATE for instructions.\n".
14        "Otherwise, run 'make dockerdebug', or 'make dockerrelease', to\n".
15        "build in docker.\n".
16        "**************************************************************\n\n";
17}
18