Re: Makefile.in: Fix broken ctags/etags-targets
Detlef Riekenberg <wine.dev(a)web.de> writes:
"make etags" and "make ctags" are broken.
What's broken about them? -- Alexandre Julliard julliard(a)winehq.org
Am Donnerstag, den 06.04.2006, 21:41 +0200 schrieb Alexandre Julliard:
"make etags" and "make ctags" are broken.
What's broken about them?
----- detlef(a)p4:~/wine.cvs/bin$ make ctags find /home/detlef/wine.cvs/src -name '*.[ch]' -print | ctags --c-types= +px -L - ----- The file "tags" is now present, but only filled with the ctags-informations upto: !_TAG_PROGRAM_VERSION 5.5.4 // ----- detlef(a)p4:~/wine.cvs/bin$ make etags find /home/detlef/wine.cvs/src -name '*.[ch]' -print | etags - etags: Unknown option: - make: *** [etags] Fehler 1 ----- What's not broken about them? Standalone "find": detlef(a)p4:~/wine.cvs/bin$ find ~/wine.cvs/src /home/detlef/wine.cvs/src detlef(a)p4:~/wine.cvs/bin$ find --version GNU find Version 4.1.20 -- By By ... ... Detlef
Detlef Riekenberg <wine.dev(a)web.de> writes:
detlef(a)p4:~/wine.cvs/bin$ make etags find /home/detlef/wine.cvs/src -name '*.[ch]' -print | etags - etags: Unknown option: - make: *** [etags] Fehler 1 -----
What's not broken about them?
Well, it works fine here, so you'll have to do configure checks to detect what version we are running.
Standalone "find": detlef(a)p4:~/wine.cvs/bin$ find ~/wine.cvs/src /home/detlef/wine.cvs/src detlef(a)p4:~/wine.cvs/bin$ find --version GNU find Version 4.1.20
Is that a symlink? -- Alexandre Julliard julliard(a)winehq.org
Am Freitag, den 07.04.2006, 10:38 +0200 schrieb Alexandre Julliard:
detlef(a)p4:~/wine.cvs/bin$ make etags find /home/detlef/wine.cvs/src -name '*.[ch]' -print | etags - etags: Unknown option: - make: *** [etags] Fehler 1 What's not broken about them?
Well, it works fine here, Strange, that i have Problems with "find" and with "etags".
so you'll have to do configure checks to detect what version we are running.
detlef(a)p4:~/wine.cvs/bin$ etags --version Exuberant Ctags 5.5.4, Copyright (C) 1996-2003 Darren Hiebert Compiled: Aug 13 2004, 05:14:24 Addresses: <dhiebert(a)users.sourceforge.net>, http://ctags.sourceforge.net Optional compiled features: +wildcards, +regex This is the newest release on http://ctags.sf.net (Version 5.5.4 [29 March 2004])
detlef(a)p4:~/wine.cvs/bin$ find ~/wine.cvs/src /home/detlef/wine.cvs/src Is that a symlink?
You are Magic! detlef(a)p4:~/wine.cvs/bin$ file ~/wine.cvs/src /home/detlef/wine.cvs/src: symbolic link to `/_v/src/wine-git' -- By By ... ... Detlef
Detlef Riekenberg <wine.dev(a)web.de> writes:
detlef(a)p4:~/wine.cvs/bin$ etags --version Exuberant Ctags 5.5.4, Copyright (C) 1996-2003 Darren Hiebert Compiled: Aug 13 2004, 05:14:24 Addresses: <dhiebert(a)users.sourceforge.net>, http://ctags.sourceforge.net Optional compiled features: +wildcards, +regex
The makefile currently assumes Emacs etags, since that's what I use ;-)
detlef(a)p4:~/wine.cvs/bin$ file ~/wine.cvs/src /home/detlef/wine.cvs/src: symbolic link to `/_v/src/wine-git'
You probably want find -L then. -- Alexandre Julliard julliard(a)winehq.org
Am Freitag, den 07.04.2006, 12:02 +0200 schrieb Alexandre Julliard:
detlef(a)p4:~/wine.cvs/bin$ etags --version Exuberant Ctags 5.5.4, Copyright (C) 1996-2003 Darren Hiebert Compiled: Aug 13 2004, 05:14:24 Addresses: <dhiebert(a)users.sourceforge.net>, http://ctags.sourceforge.net Optional compiled features: +wildcards, +regex
The makefile currently assumes Emacs etags, since that's what I use ;-)
I have no idea, how configure can be modified to detect the correct ETAGS_OPTIONS
detlef(a)p4:~/wine.cvs/bin$ file ~/wine.cvs/src /home/detlef/wine.cvs/src: symbolic link to `/_v/src/wine-git' You probably want find -L then.
"-L" => Invalid Option. "find path -name '*.[c|h]'" and "find path/ -name '*.[c|h]'" produce the same output here, but for a symlink, only "find symlink/ -name '*.[c|h]'" works. My find is: GNU find Version 4.1.20 -- By By ... ... Detlef
participants (2)
-
Alexandre Julliard -
Detlef Riekenberg