Skip to content

Commit

Permalink
sindex: rename it to 'semind'
Browse files Browse the repository at this point in the history
The name 'sindex' is already used by another package (biosquid).

So it was decided to rename it to 'semind'.

Signed-off-by: Alexey Gladkov <[email protected]>
Signed-off-by: Luc Van Oostenryck <[email protected]>
  • Loading branch information
legionus authored and lucvoo committed Aug 5, 2020
1 parent 8c7aee7 commit e157877
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 195 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ graph
obfuscate
sparse
sparse-llvm
sindex
semind
test-dissect
test-inspect
test-lexing
Expand Down
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,17 +157,17 @@ ifeq ($(HAVE_SQLITE),yes)
SQLITE_VERSION:=$(shell $(PKG_CONFIG) --modversion sqlite3)
SQLITE_VNUMBER:=$(shell printf '%d%02d%02d' $(subst ., ,$(SQLITE_VERSION)))
ifeq ($(shell expr "$(SQLITE_VNUMBER)" '>=' 32400),1)
PROGRAMS += sindex
INST_PROGRAMS += sindex
INST_MAN1 += sindex.1
sindex-ldlibs := $(shell $(PKG_CONFIG) --libs sqlite3)
sindex-cflags := $(shell $(PKG_CONFIG) --cflags sqlite3)
sindex-cflags += -std=gnu99
PROGRAMS += semind
INST_PROGRAMS += semind
INST_MAN1 += semind.1
semind-ldlibs := $(shell $(PKG_CONFIG) --libs sqlite3)
semind-cflags := $(shell $(PKG_CONFIG) --cflags sqlite3)
semind-cflags += -std=gnu99
else
$(warning Your SQLite3 version ($(SQLITE_VERSION)) is too old, 3.24.0 or later is required.)
endif
else
$(warning Your system does not have sqlite3, disabling sindex)
$(warning Your system does not have sqlite3, disabling semind)
endif

# Can we use gtk (needed for test-inspect)
Expand Down
18 changes: 9 additions & 9 deletions sindex.1 → semind.1
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
.\" Sindex manpage by Alexey Gladkov
.TH sindex "1"
.TH semind "1"
.
.SH NAME
sindex \- Semantic Indexer for C
semind \- Semantic Indexer for C
.
.SH SYNOPSIS
.B sindex
.B semind
[\fIoptions\fR]
.br
.B sindex
.B semind
[\fIoptions\fR] \fIadd\fR [\fIcommand options\fR] [\fI--\fR] [\fIcompiler options\fR] [\fIfiles...\fR]
.br
.B sindex
.B semind
[\fIoptions\fR] \fIrm\fR [\fIcommand options\fR] \fIpattern\fR
.br
.B sindex
.B semind
[\fIoptions\fR] \fIsearch\fR [\fIcommand options\fR] [\fIpattern\fR]
.br
.B sindex [\fIoptions\fR] \fIsearch\fR [\fIcommand options\fR] (\fI-e\fR|\fI-l\fR) \fIfilename\fR:\fIlinenr\fR:\fIcolumn\fR
.B semind [\fIoptions\fR] \fIsearch\fR [\fIcommand options\fR] (\fI-e\fR|\fI-l\fR) \fIfilename\fR:\fIlinenr\fR:\fIcolumn\fR
.br
.SH DESCRIPTION
.P
sindex is the simple to use cscope-like tool based on sparse/dissect. Unlike
semind is the simple to use cscope-like tool based on sparse/dissect. Unlike
cscope it runs after pre-processor and thus it can't index the code filtered out
by ifdef's, but otoh it understands how the symbol is used and it can track the
usage of struct members.
Expand All @@ -44,7 +44,7 @@ wildcard pattern.
.SH COMMON OPTIONS
.TP
\fB-D\fR, \fB--database=FILE\fR
specify database file (default: ./sindex.sqlite).
specify database file (default: ./semind.sqlite).
.TP
\fB-v\fR, \fB--verbose\fR
show information about what is being done.
Expand Down
Loading

0 comments on commit e157877

Please sign in to comment.