[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing scheme only programs
From: |
Thien-Thi Nguyen |
Subject: |
Re: Installing scheme only programs |
Date: |
Thu, 10 Mar 2011 11:34:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
() Diogo F. S. Ramos <address@hidden>
() 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.
Re: Installing scheme only programs, Ludovic Courtès, 2011/03/11