From: Michal Sojka Date: Tue, 14 Apr 2009 07:33:30 +0000 (+0200) Subject: Fixed cscope target to better cooperate with Emacs X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk/sssa.git/commitdiff_plain/745e83c76d300f81f47bae02d916b53ead196442 Fixed cscope target to better cooperate with Emacs Emacs supposes there is cscope.files with the list of files to index. --- diff --git a/snippets/sources-list.omk b/snippets/sources-list.omk index f135451..8f3cc48 100644 --- a/snippets/sources-list.omk +++ b/snippets/sources-list.omk @@ -75,5 +75,6 @@ endif cscope: $(SOURCES_LIST) @$(QUIET_CMD_ECHO) " CSCOPE < $(SOURCES_LIST_FN)" - $(Q)sed -e '/^#/d' $(SOURCES_LIST)|cscope -b -i- + $(Q)sed -e '/^#/d' $(SOURCES_LIST) > cscope.files + $(Q)cscope -b -icscope.files #FIXME: see doc to -i in cscope(1)