浏览代码

Rename UTILITIES/ to utils/

Bastien Guerry 12 年之前
父节点
当前提交
0c8e87b8d2

+ 1 - 1
.gitignore

@@ -63,7 +63,7 @@ TODO
 .DS_Store
 .DS_Store
 *#
 *#
 .#*
 .#*
-/UTILITIES/x11idle
+/utils/x11idle
 
 
 #
 #
 # Local variables:
 # Local variables:

+ 5 - 5
README_maintainer

@@ -19,7 +19,7 @@ accepting it.
 I have found that the best workflow for this is using the pw script by
 I have found that the best workflow for this is using the pw script by
 Nate Case, with the modifications for Org-mode made by John Wiegley
 Nate Case, with the modifications for Org-mode made by John Wiegley
 and Carsten Dominik.  The correct version of this script that should
 and Carsten Dominik.  The correct version of this script that should
-be used with Org mode is distributed in the UTILITIES directory of the
+be used with Org mode is distributed in the =utils/= directory of the
 Org mode distribution.  Here is the basic workflow for this.
 Org mode distribution.  Here is the basic workflow for this.
 
 
 ** Access to the patchwork server
 ** Access to the patchwork server
@@ -156,7 +156,7 @@ org-version= will spit ut complete version infor related to git, with
 the nearest commit and tag.  I you ever need to set a special version
 the nearest commit and tag.  I you ever need to set a special version
 number, use this:
 number, use this:
 
 
-: UTILITIES/set_version 7.02trans
+: utils/set_version 7.02trans
 
 
 and commit the result.  Note that the above command does not change
 and commit the result.  Note that the above command does not change
 the version string in the file from which Org's homepage is generated.
 the version string in the file from which Org's homepage is generated.
@@ -213,7 +213,7 @@ So the way I have been doing things with Emacs is this:
 
 
    For this, I do in the org-mode git repository
    For this, I do in the org-mode git repository
 
 
-   : UTILITIES/make_emacs_changelog release_7.02.05..release_7.03.02
+   : utils/make_emacs_changelog release_7.02.05..release_7.03.02
 
 
    This will spit out ChangeLog entries (for the given commit range)
    This will spit out ChangeLog entries (for the given commit range)
    that need to go into the ChangeLog files in Emacs.  Org-mode
    that need to go into the ChangeLog files in Emacs.  Org-mode
@@ -236,7 +236,7 @@ So the way I have been doing things with Emacs is this:
    second and third command line arguments to =make_emacs_changelog=,
    second and third command line arguments to =make_emacs_changelog=,
    for example
    for example
 
 
-   : UTILITIES/make_emacs_changelog release_7.02.05..release_7.03.02 2010-12-11 lisp
+   : utils/make_emacs_changelog release_7.02.05..release_7.03.02 2010-12-11 lisp
 
 
    These entries need to be added to the ChangeLog files in Emacs.
    These entries need to be added to the ChangeLog files in Emacs.
    You should, in the ChangeLog file, select the inserted region of
    You should, in the ChangeLog file, select the inserted region of
@@ -253,7 +253,7 @@ So the way I have been doing things with Emacs is this:
 
 
   The file /org-configs/org-hooks.org/ contains a list of all hooks in
   The file /org-configs/org-hooks.org/ contains a list of all hooks in
   Org.  This list has to be updated after hooks have been added or
   Org.  This list has to be updated after hooks have been added or
-  removed.  The perl script /UTILITIES/list-hooks.pl/ creates the
+  removed.  The perl script /utils/list-hooks.pl/ creates the
   entire section "Hooks and Function variables", including its
   entire section "Hooks and Function variables", including its
   level-one headline.  I guess babel code could be used to update this
   level-one headline.  I guess babel code could be used to update this
   automatically, but I have not implemented this - I have been doing
   automatically, but I have not implemented this - I have been doing

+ 3 - 3
default.mk

@@ -71,7 +71,7 @@ BATCH	= $(EMACS) -batch -Q
 MAKE_LOCAL_MK = $(BATCH) \
 MAKE_LOCAL_MK = $(BATCH) \
 	  --eval '(add-to-list '"'"'load-path "./lisp")' \
 	  --eval '(add-to-list '"'"'load-path "./lisp")' \
 	  --eval '(load "org-compat.el")' \
 	  --eval '(load "org-compat.el")' \
-	  --eval '(load "../UTILITIES/org-fixup.el")' \
+	  --eval '(load "../utils/org-fixup.el")' \
 	  --eval '(org-make-local-mk)'
 	  --eval '(org-make-local-mk)'
 
 
 # Emacs must be started in lisp directory
 # Emacs must be started in lisp directory
@@ -81,13 +81,13 @@ BATCHL	= $(BATCH) \
 # How to generate org-install.el
 # How to generate org-install.el
 MAKE_ORG_INSTALL = $(BATCHL) \
 MAKE_ORG_INSTALL = $(BATCHL) \
 	  --eval '(load "org-compat.el")' \
 	  --eval '(load "org-compat.el")' \
-	  --eval '(load "../UTILITIES/org-fixup.el")' \
+	  --eval '(load "../utils/org-fixup.el")' \
 	  --eval '(org-make-org-install)'
 	  --eval '(org-make-org-install)'
 
 
 # How to generate org-version.el
 # How to generate org-version.el
 MAKE_ORG_VERSION = $(BATCHL) \
 MAKE_ORG_VERSION = $(BATCHL) \
 	  --eval '(load "org-compat.el")' \
 	  --eval '(load "org-compat.el")' \
-	  --eval '(load "../UTILITIES/org-fixup.el")' \
+	  --eval '(load "../utils/org-fixup.el")' \
 	  --eval '(org-make-org-version "$(ORGVERSION)" "$(GITVERSION)" "$(datadir)")'
 	  --eval '(org-make-org-version "$(ORGVERSION)" "$(GITVERSION)" "$(datadir)")'
 
 
 # How to byte-compile the whole source directory
 # How to byte-compile the whole source directory

+ 5 - 5
doc/Makefile

@@ -20,10 +20,10 @@ manual guide::
 	$(MKDIR) $@
 	$(MKDIR) $@
 manual::	org.texi org-version.inc
 manual::	org.texi org-version.inc
 	$(TEXI2HTML) -o $@ $<
 	$(TEXI2HTML) -o $@ $<
-	../UTILITIES/mansplit.pl $@/*
+	../utils/mansplit.pl $@/*
 guide::		orgguide.texi org-version.inc
 guide::		orgguide.texi org-version.inc
 	$(TEXI2HTML) -o $@ $<
 	$(TEXI2HTML) -o $@ $<
-	../UTILITIES/guidesplit.pl $@/*
+	../utils/guidesplit.pl $@/*
 
 
 org-version.inc:	org.texi
 org-version.inc:	org.texi
 	@echo "org-version: $(ORGVERSION) ($(GITVERSION))"
 	@echo "org-version: $(ORGVERSION) ($(GITVERSION))"
@@ -61,14 +61,14 @@ clean-install:
 
 
 %.html:		%.texi org-version.inc
 %.html:		%.texi org-version.inc
 	$(TEXI2HTML) --no-split -o $@ $<
 	$(TEXI2HTML) --no-split -o $@ $<
-	../UTILITIES/manfull.pl $@
+	../utils/manfull.pl $@
 
 
 %.txt:		%.tex
 %.txt:		%.tex
-	perl ../UTILITIES/orgcard2txt.pl $< > $@
+	perl ../utils/orgcard2txt.pl $< > $@
 
 
 %_letter.tex:	%.tex
 %_letter.tex:	%.tex
 	$(BATCH) \
 	$(BATCH) \
 	  --eval '(add-to-list '"'"'load-path "../lisp")' \
 	  --eval '(add-to-list '"'"'load-path "../lisp")' \
 	  --eval '(load "org-compat.el")' \
 	  --eval '(load "org-compat.el")' \
-	  --eval '(load "../UTILITIES/org-fixup.el")' \
+	  --eval '(load "../utils/org-fixup.el")' \
 	  --eval '(org-make-letterformat "$(<F)" "$(@F)")'
 	  --eval '(org-make-letterformat "$(<F)" "$(@F)")'

+ 1 - 1
doc/org.texi

@@ -6276,7 +6276,7 @@ as 10 or 15, Emacs can alert you when you get back to your computer after
 being idle for that many minutes@footnote{On computers using Mac OS X,
 being idle for that many minutes@footnote{On computers using Mac OS X,
 idleness is based on actual user idleness, not just Emacs' idle time.  For
 idleness is based on actual user idleness, not just Emacs' idle time.  For
 X11, you can install a utility program @file{x11idle.c}, available in the
 X11, you can install a utility program @file{x11idle.c}, available in the
-UTILITIES directory of the Org git distribution, to get the same general
+@code{utils} directory of the Org git distribution, to get the same general
 treatment of idleness.  On other systems, idle time refers to Emacs idle time
 treatment of idleness.  On other systems, idle time refers to Emacs idle time
 only.}, and ask what you want to do with the idle time.  There will be a
 only.}, and ask what you want to do with the idle time.  There will be a
 question waiting for you when you get back, indicating how much idle time has
 question waiting for you when you get back, indicating how much idle time has

+ 1 - 1
lisp/org-compat.el

@@ -446,7 +446,7 @@ With two arguments, return floor and remainder of their quotient."
   "Try very hard to provide sensible version strings."
   "Try very hard to provide sensible version strings."
   (let* ((org-dir        (org-find-library-dir "org"))
   (let* ((org-dir        (org-find-library-dir "org"))
 	 (org-version.el (concat org-dir "org-version.el"))
 	 (org-version.el (concat org-dir "org-version.el"))
-	 (org-fixup.el   (concat org-dir "../UTILITIES/org-fixup.el")))
+	 (org-fixup.el   (concat org-dir "../utils/org-fixup.el")))
     (if (require 'org-version org-version.el 'noerror)
     (if (require 'org-version org-version.el 'noerror)
 	'(progn
 	'(progn
 	   (autoload 'org-release     "org-version.el")
 	   (autoload 'org-release     "org-version.el")

+ 2 - 2
targets.mk

@@ -5,7 +5,7 @@ DISTFILES_extra=  Makefile request-assign-future.txt contrib etc
 
 
 LISPDIRS      = lisp
 LISPDIRS      = lisp
 OTHERDIRS     = doc etc
 OTHERDIRS     = doc etc
-CLEANDIRS     = contrib testing UTILITIES
+CLEANDIRS     = contrib testing utils
 SUBDIRS       = $(OTHERDIRS) $(LISPDIRS)
 SUBDIRS       = $(OTHERDIRS) $(LISPDIRS)
 INSTSUB       = $(SUBDIRS:%=install-%)
 INSTSUB       = $(SUBDIRS:%=install-%)
 ORG_MAKE_DOC ?= info html pdf
 ORG_MAKE_DOC ?= info html pdf
@@ -146,7 +146,7 @@ cleanaddcontrib:
 	$(RM) $(ORG_TO_LISP)
 	$(RM) $(ORG_TO_LISP)
 endif
 endif
 
 
-cleanutils:	cleanUTILITIES
+cleanutils:	cleanutils
 
 
 cleanelc:
 cleanelc:
 	$(MAKE) -C lisp $@
 	$(MAKE) -C lisp $@

+ 0 - 0
UTILITIES/fake_change_log.pl → utils/fake_change_log.pl


+ 0 - 0
UTILITIES/git-changelog → utils/git-changelog


+ 0 - 0
UTILITIES/gplmanual.pl → utils/gplmanual.pl


+ 0 - 0
UTILITIES/guidesplit.pl → utils/guidesplit.pl


+ 0 - 0
UTILITIES/list-hooks.pl → utils/list-hooks.pl


+ 1 - 1
UTILITIES/make_emacs_changelog → utils/make_emacs_changelog

@@ -66,7 +66,7 @@ foreach my $commit (@commits) {
     
     
     # remove stuff which is not for this output
     # remove stuff which is not for this output
     if ($kind =~ /\S/) { 
     if ($kind =~ /\S/) { 
-      remove_parts("contrib/","testing/","xemacs/","UTILITIES/","etc/");
+      remove_parts("contrib/","testing/","xemacs/","utils/","etc/");
       remove_parts(".*Makefile","README",".+\.mk");
       remove_parts(".*Makefile","README",".+\.mk");
     }
     }
     if ($kind eq "lisp") { remove_parts("doc/")                               }
     if ($kind eq "lisp") { remove_parts("doc/")                               }

+ 0 - 0
UTILITIES/manfull.pl → utils/manfull.pl


+ 0 - 0
UTILITIES/mansplit.pl → utils/mansplit.pl


+ 0 - 0
UTILITIES/org-fixup.el → utils/org-fixup.el


+ 0 - 0
UTILITIES/orgcard2txt.pl → utils/orgcard2txt.pl


+ 0 - 0
UTILITIES/pw → utils/pw


+ 0 - 0
UTILITIES/server.mk → utils/server.mk


+ 0 - 0
UTILITIES/set-version.pl → utils/set-version.pl


+ 0 - 0
UTILITIES/x11idle.c → utils/x11idle.c