From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: [PATCH 06/13] build: Generate man pages after compiling guile objects. Date: Thu, 28 Jan 2016 18:27:33 -0600 Message-ID: <20160128182733.5291643b@openmailbox.org> References: <1453666771-16869-1-git-send-email-mthl@gnu.org> <1453666771-16869-7-git-send-email-mthl@gnu.org> <87d1somgfd.fsf@gnu.org> <87zivs2jej.fsf@gnu.org> <20160127203742.52245ef3@openmailbox.org> <87oac5k8sp.fsf@gnu.org> <7bfbfb841466c6889effbd21d089d616@openmailbox.org> <87k2mtk5ak.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/iq7NrIx_x./7aJlwR5m58iG" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aP1X2-0003AM-2S for guix-devel@gnu.org; Fri, 29 Jan 2016 00:23:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aP1Wy-0006gQ-Nd for guix-devel@gnu.org; Fri, 29 Jan 2016 00:23:40 -0500 In-Reply-To: <87k2mtk5ak.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mathieu Lirzin Cc: guix-devel@gnu.org --MP_/iq7NrIx_x./7aJlwR5m58iG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, 28 Jan 2016 18:00:35 +0100 Mathieu Lirzin wrote: > OTOH I must admit that for maintainability reasons I would prefer > avoiding complexity in Makefiles as much as possible. This means > using Automake's abstract concepts as much as possible, having a > simple dependency graph on top of that, and put things that don't fit > well in this scheme in individual "build-aux/" scripts. For that > reason I still prefer the embed help2man solution. but otherwise it > looks nice. :) I sympathize with the concerns for maintainability. In this case, it seems to me that a few lines of make/shell would be preferable to 20k lines of perl. Perhaps the simpler attached patch is better? `~Eric --MP_/iq7NrIx_x./7aJlwR5m58iG Content-Type: text/x-patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-build-Generate-man-pages-after-compiling-guile-objec.patch RnJvbSA0ZjM2OWNiNmQ0OWNiYjY2MjBhMGNhZTExNzEwN2Q2ZDVlNzJlZGM1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQ0KRnJvbTogRXJpYyBCYXZpZXIgPGJhdmllckBtZW1iZXIuZnNmLm9yZz4N CkRhdGU6IFdlZCwgMjcgSmFuIDIwMTYgMjA6MzE6MDQgLTA2MDANClN1YmplY3Q6IFtQQVRDSF0g YnVpbGQ6IEdlbmVyYXRlIG1hbiBwYWdlcyBhZnRlciBjb21waWxpbmcgZ3VpbGUgb2JqZWN0cy4N Cg0KKiBkb2MuYW0gKFNVQkNPTU1BTkRfTUFOUyk6IE5ldyB2YXJpYWJsZS4NCiAgKHN1YmNvbW1h bmQtbWFudWFsLXRhcmdldCk6IEFkZCBkZXBlbmRlbmN5IG9uIFNVQkNPTU1BTkRfTUFOUy4NCiAg UnVuIGhlbHAybWFuIG9ubHkgaWYgc2NyaXB0IGlucHV0IGlzIGNoYW5nZWQuDQotLS0NCiBkb2Mu YW0gfCAyMCArKysrKysrKysrKysrKystLS0tLQ0KIDEgZmlsZSBjaGFuZ2VkLCAxNSBpbnNlcnRp b25zKCspLCA1IGRlbGV0aW9ucygtKQ0KDQpkaWZmIC0tZ2l0IGEvZG9jLmFtIGIvZG9jLmFtDQpp bmRleCBhZDU5YWE1Li5lMDA5YTI0IDEwMDY0NA0KLS0tIGEvZG9jLmFtDQorKysgYi9kb2MuYW0N CkBAIC05NCw3ICs5NCw3IEBAIGR2aS1sb2NhbDogcHMtbG9jYWwNCiAMDQogIyBNYW51YWwgcGFn ZXMuDQogDQotZG9jL2d1aXguMTogJChTVUJD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