From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 19 Apr 2023 10:18:37 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pp31Q-008gCJ-3m for lore@lore.pengutronix.de; Wed, 19 Apr 2023 10:18:37 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pp31P-000803-F4; Wed, 19 Apr 2023 10:18:35 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pp318-0007zt-0s; Wed, 19 Apr 2023 10:18:18 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1pp317-00078K-Dr; Wed, 19 Apr 2023 10:18:17 +0200 Date: Wed, 19 Apr 2023 10:18:17 +0200 From: Michael Olbrich To: Guillermo Rodriguez Garcia Message-ID: <20230419081817.GN22555@pengutronix.de> Mail-Followup-To: Guillermo Rodriguez Garcia , "ptxdist@pengutronix.de" References: <20230419072332.GL22555@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] Regenerate license report X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: "ptxdist@pengutronix.de" Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Wed, Apr 19, 2023 at 09:28:02AM +0200, Guillermo Rodriguez Garcia wrote: > El miércoles, 19 de abril de 2023, Michael Olbrich > escribió: > > On Tue, Apr 18, 2023 at 05:18:58PM +0200, Guillermo Rodriguez Garcia wrote: > > > El mar, 18 abr 2023 a las 16:37, Guillermo Rodriguez Garcia (< > > > guille.rodriguez@gmail.com>) escribió: > > > > Is there a way to force ptxdist to regenerate a license-report after it > > > > has been generated already with "ptxdist make license-report" ? > > > > > > > > I didn't find any "clean" rule for this, and the naive approach of just > > > > deleting the platform-xxx/report dir doesn't work (trying to run > > ptxdist > > > > make license-report after this results in errors). > > > > > > > > > > The best I have found is: > > > > > > rm -rf platform-xxx/report > > > rm platform-xxx/state/*.report > > > > > > But I assume there is a cleaner way :-) > > > > That depends a bit on why you want to regenerate the report. If you need to > > regenerate the per package stuff in platform-xxx/report/ then removing > > platform-xxx/state/*.report is the way to go. If that part remains > > unchanged, then just removing the pdfs should be enough. > > > This was because of adjustments to license info in the .make files so I > guess I need to remove the .report files :-) > > Thank you for the response, If you change a .make file, then that should be detected automatically and the license info for that package should be regenerated automatically. It should not be necessary to do anything manually. Michael -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |