From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from octopus.hi.pengutronix.de ([2001:6f8:1178:2:215:17ff:fe12:23b0]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RDNHa-00079M-GN for ptxdist@pengutronix.de; Mon, 10 Oct 2011 23:21:10 +0200 Received: from rsc by octopus.hi.pengutronix.de with local (Exim 4.76) (envelope-from ) id 1RDNHa-0006Ht-FB for ptxdist@pengutronix.de; Mon, 10 Oct 2011 23:21:10 +0200 Date: Mon, 10 Oct 2011 23:21:10 +0200 From: Robert Schwebel Message-ID: <20111010212110.GJ18273@pengutronix.de> References: <20111007123518.183940@gmx.net> <201110071508.02537.jbe@pengutronix.de> <4E931DED.6000703@gmx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4E931DED.6000703@gmx.de> Subject: Re: [ptxdist] Makefile in subfolder of rules directory? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Mon, Oct 10, 2011 at 06:31:41PM +0200, Gavin Schenk wrote: > Today we reviewed your hints and had a close look to the result of > ptxdist newpackage src-make-prog, but still have issues with it. > Maybe my question was too imprecise. > > It is possible to put the in-files into subdirectories e.g. > project/rules/somedir/test.in! > But in this example the corresponding makefile in > project/rules/somedir/test.make is not recognized by ptxdist. > > It seems to me, that ptxdist only scans project/rules but not any > subdirs for makefiles. Right, and this is by design. Why do you want to use a sub directory? The strategy is usually to put any project-local .in and .make files into rules/. Any file put there should be generic enough to be used in any config/platform to be used with the project, so I cannot imagine a good reason for splitting up into sub directories. rsc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de