[Lunar-commits] <moonbase> emacs: install emacs's "ctags" program as "etags"

Dave Brown dagbrown at lunar-linux.org
Tue Jun 28 15:20:20 CEST 2011


commit c2168a3ebd5f35d3b151abd2c873edf5a337403c
Author: Dave Brown <dagbrown at lunar-linux.org>
Date:   Tue Jun 28 22:20:20 2011 +0900

    emacs: install emacs's "ctags" program as "etags"
    
    This allows you to have both the "ctags" and "emacs" package, for people
    who like using all of the tools from both.  "etags" is a traditional
    name for emacs's "ctags" command, so it won't be too unexpected for
    experienced emacs users (I hope).  If it turns out to be problematic, it
    can always be made a build-time option.
---
 editors/emacs/BUILD |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/editors/emacs/BUILD b/editors/emacs/BUILD
index 7b5e42d..c9cf8d7 100644
--- a/editors/emacs/BUILD
+++ b/editors/emacs/BUILD
@@ -1,5 +1,6 @@
 (
   # Change location of emacs games
+  OPTS+="--program-transform-name='s/ctags*/etags/'"
   sedit "s;^gamedir=.*;gamedir='/var/lib/emacs/games';" configure  &&
   
   # Fix so installwatcher doesn't trigger on info-files


More information about the Lunar-commits mailing list