mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 20:05:32 +02:00
rename guile-tools' to
guild'
* configure.ac: Look for ln -s. Write out `guild' instead of `guile-tools'. * meta/Makefile.am (install-data-hook): Link the installed `guild' to the backward-compatible `guile-tools' name. (bin_SCRIPTS, EXTRA_DIST): Fix up for guild change. * meta/guild.in: Moved here from `guile-tools.in'. * doc/ref/Makefile.am (autoconf-macros.texi): * doc/ref/api-evaluation.texi (Compilation): * doc/ref/autoconf.texi (Autofrisk, Using Autofrisk): * doc/ref/mod-getopt-long.texi (getopt-long Reference): * doc/ref/tools.texi (Miscellaneous Tools, Executable Modules): Minimal doc update. * .gitignore: * am/guilec (.scm.go): * libguile/Makefile.am (snarf2checkedtexi): * module/Makefile.am (ice-9/psyntax-pp.go): Update makefiles, etc. * module/scripts/README: * module/scripts/lint.scm: * module/scripts/list.scm: Update commentaries.
This commit is contained in:
parent
f0b7c3c6b9
commit
b8b0659879
15 changed files with 57 additions and 49 deletions
|
@ -4,7 +4,7 @@ Overview and Usage
|
|||
This directory contains Scheme programs, some useful in maintaining Guile.
|
||||
On "make install", these programs are copied to PKGDATADIR/VERSION/scripts.
|
||||
|
||||
You can use guile-tools to invoke a program from the shell, or alternatively,
|
||||
You can use guild to invoke a program from the shell, or alternatively,
|
||||
load its file as a Guile Scheme module, and use its exported procedure(s)
|
||||
from Scheme code. Typically for any PROGRAM:
|
||||
|
||||
|
@ -38,7 +38,7 @@ How to Contribute
|
|||
|
||||
See template file PROGRAM for a quick start.
|
||||
|
||||
Programs must follow the "guile-tools" convention, documented here:
|
||||
Programs must follow the "guild" convention, documented here:
|
||||
|
||||
- The module name must be "(scripts PROGRAM)". A procedure named PROGRAM w/
|
||||
signature "(PROGRAM . args)" must be exported. Basically, use some variant
|
||||
|
@ -56,7 +56,7 @@ Programs must follow the "guile-tools" convention, documented here:
|
|||
However, `main' must NOT be exported.
|
||||
|
||||
Following these conventions allows the program file to be used as module
|
||||
(scripts PROGRAM) in addition to being invoked by guile-tools. Please also
|
||||
(scripts PROGRAM) in addition to being invoked by guild. Please also
|
||||
include a helpful Commentary section w/ some usage info.
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; lint --- Preemptive checks for coding errors in Guile Scheme code
|
||||
|
||||
;; Copyright (C) 2002, 2006 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2002, 2006, 2011 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; This program is free software; you can redistribute it and/or
|
||||
;; modify it under the terms of the GNU Lesser General Public License
|
||||
|
@ -64,7 +64,7 @@
|
|||
;; Note: most of the unresolved variables found in this example are
|
||||
;; false positives, as you would hope. => scope for improvement.
|
||||
;;
|
||||
;; $ guile-tools lint `guile-tools`
|
||||
;; $ guild lint `guild`
|
||||
;; No unresolved free variables in PROGRAM
|
||||
;; No unresolved free variables in autofrisk
|
||||
;; No unresolved free variables in display-commentary
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
;;; List --- List scripts that can be invoked by guile-tools -*- coding: iso-8859-1 -*-
|
||||
;;; List --- List scripts that can be invoked by guild -*- coding: iso-8859-1 -*-
|
||||
|
||||
;;;; Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
|
||||
;;;;
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
;; Usage: list
|
||||
;;
|
||||
;; List scripts that can be invoked by guile-tools.
|
||||
;; List scripts that can be invoked by guild.
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue