From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: Installing scheme only programs Date: Thu, 10 Mar 2011 11:34:48 +0100 Message-ID: <87sjuvw9fb.fsf@ambire.localdomain> References: <20110310.035029.58396821684886596.diogofsr@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299753701 18863 80.91.229.12 (10 Mar 2011 10:41:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2011 10:41:41 +0000 (UTC) Cc: guile-user@gnu.org To: Diogo F. S. Ramos Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Mar 10 11:41:37 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PxdJI-00068c-QW for guile-user@m.gmane.org; Thu, 10 Mar 2011 11:41:36 +0100 Original-Received: from localhost ([127.0.0.1]:50571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxdJI-0008SI-Ci for guile-user@m.gmane.org; Thu, 10 Mar 2011 05:41:36 -0500 Original-Received: from [140.186.70.92] (port=51851 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxdJ1-0008Q3-5y for guile-user@gnu.org; Thu, 10 Mar 2011 05:41:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxdIz-0000lQ-Rp for guile-user@gnu.org; Thu, 10 Mar 2011 05:41:19 -0500 Original-Received: from smtp206.alice.it ([82.57.200.102]:43392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxdIz-0000ks-Gy for guile-user@gnu.org; Thu, 10 Mar 2011 05:41:17 -0500 Original-Received: from ambire.localdomain (95.244.64.75) by smtp206.alice.it (8.5.124.08) id 4D49918D03074A4C; Thu, 10 Mar 2011 11:41:12 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1PxdCi-0001C5-Lj; Thu, 10 Mar 2011 11:34:48 +0100 In-Reply-To: <20110310.035029.58396821684886596.diogofsr@gmail.com> (Diogo F. S. Ramos's message of "Thu, 10 Mar 2011 03:50:29 -0300 (BRT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.102 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8514 Archived-At: () Diogo F. S. Ramos () Thu, 10 Mar 2011 03:50:29 -0300 (BRT) I recently learn a technique where, during 'make', one 'cat' all the sources files together, forming a big, single executable script. Doing so, there is no need to install the .scm files, because they are all inside the same executable file. This is the technique used in RPX: http://www.gnuvola.org/software/rpx/ It generalizes "compilation" from simple concatentation to include other program-specific transforms. End result is two files to (un)install: - $(bindir)/rpx - $(infodir)/rpx.info No fuss, no muss. As for the distinction between "data" and "non-data", i tend to view anything without the executable bit set as data, and all data as programs-in-waiting. YMMV.