From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=Mfu7ckFIb+1MKndIa+cyPViOxGLc0te8HSVhRr4hiCc=; b=xBrKuad1+Q7fLNlYhqv3IXOXtgyMTbHVtZ9icDOsvCFhnPivUMyfUI3lyG0r6Etpk28u eG1/oOl+jYnckSwgSahSqPvo/Y6oE+98ZrWvTDKNCmP1Ty0N/U2iNbd1ALdjff1ocWlU HyC73OTLzcY8f9UztX9fx23XNozeAVpR2CJ9LVQXDdCF+oB8OfQXC6yOIhCx6c5/JSnM zZ6lRPfztxq6ZbCTLtOOhpcjYGCJ+OrIfksmhF+RAaLcdgg5kKlNKRvF1vBAsN9FQZZW cZ5kGs2Fiprl/9bZuWUYiOEsQTElfvpM5IqAK0SAsZIkfC0VZd09s/h6b+tA/M4Ut5GN KA== Date: Wed, 10 Jun 2020 21:08:43 +0300 From: Dan Carpenter Subject: Re: [PATCH] Makefile: Install database in a share directory Message-ID: <20200610180843.GD4151@kadam> References: <20200610030850.26010-1-gwendal@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200610030850.26010-1-gwendal@chromium.org> To: Gwendal Grignou Cc: error27@gmail.com, smatch@vger.kernel.org, groeck@chromium.org List-ID: On Tue, Jun 09, 2020 at 08:08:50PM -0700, Gwendal Grignou wrote: > 'make install' installs the database .schema files and other assets at > $DESTDIR/$(SHAREDIR)/smatch/smatch_data, > /usr/share/smatch/smatch_data by default. > > This way the source code tree does not need to be present to run smatch, > and --data is not required as smatch is compiled to look for data assets > at the above location, in addition to the local directory. > > Signed-off-by: Gwendal Grignou Thanks so much. Applied. regards, dan carpenter