While we're at it, here's a build error for the TAGS file:

echo > TAGS
if test "xetags" != "x"; then \
        srcfiles=`find /home/no_backup/src/ecl.2/src/c 
/home/no_backup/src/ecl.2/src/h
-name '*.[chd]'` && \
        etags --language=c    -o TAGS $srcfiles && \
        etags --language=none -o TAGS --append \
              --regex='/@\([-:*a-zA-z]+\)/\1/' \
              --regex='/@(defun \([-:*a-zA-z]+\)/\1/' \
              $srcfiles; \
        fi
etags: Warning: "--language" option is obsolete; use "--language-force" instead 
etags:
"TAGS" doesn't look like a tag file; I refuse to overwrite it.


Here's a patch that makes it work on my machine, with
    $ ctags --version
    Exuberant Ctags 5.9~svn20110310;
but I expect these changes to break older installation, so I'm not sure whether 
that
should be simply applied.


Regards,

Phil

diff src/Makefile.in src/Makefile.in
--- src/Makefile.in
+++ src/Makefile.in
@@ -251,13 +251,13 @@ selfbuild:
 # like "@si::foo" and "@(defun si::foo".
 # This rule is allowed to fail when etags does not exist.
 TAGS:
-	echo > $@
+	rm -f $@
 	if test "x$(ETAGS)" != "x"; then \
 	srcfiles=`find $(srcdir)/c $(srcdir)/h -name '*.[chd]'` && \
-	$(ETAGS) --language=c    -o $@ $$srcfiles && \
-	$(ETAGS) --language=none -o $@ --append \
-	      --regex='/@\([-:*a-zA-z]+\)/\1/' \
-	      --regex='/@(defun \([-:*a-zA-z]+\)/\1/' \
+	$(ETAGS) --language-force=c    -o $@ $$srcfiles && \
+	$(ETAGS) --language-force=Lisp -o $@ --append \
+	      --regex-Lisp='/@([-:*a-zA-z]+)/\1/' \
+	      --regex-Lisp='/@\(defun ([-:*a-zA-z]+)/\1/' \
 	      $$srcfiles; \
 	fi
 
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to