Browse Source

Rename bantool to solanum-bantool (#64)

Rename bantool to solanum-bantool
dwfreed/netwide
Eric Mertens 2 years ago committed by GitHub
parent
commit
25d169b649
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      bandb/Makefile.am
  2. 2
      bandb/bandb.c

10
bandb/Makefile.am

@ -1,5 +1,5 @@
pkglibexec_PROGRAMS = bandb
bin_PROGRAMS = bantool
bin_PROGRAMS = solanum-bantool
AM_CFLAGS=$(WARNFLAGS)
AM_CPPFLAGS = -I../include -I../librb/include @SQLITE_INCLUDES@
@ -10,7 +10,7 @@ EXTRA_bandb_SOURCES = sqlite3.c
bandb_LDADD = ../librb/src/librb.la @SQLITE_LD@ @SQLITE_OBJ@
bandb_DEPENDENCIES = @SQLITE_OBJ@
bantool_SOURCES = bantool.c rsdb_sqlite3.c rsdb_snprintf.c
EXTRA_bantool_SOURCES = sqlite3.c
bantool_LDADD = ../librb/src/librb.la @SQLITE_LD@ @SQLITE_OBJ@
bantool_DEPENDENCIES = @SQLITE_OBJ@
solanum_bantool_SOURCES = bantool.c rsdb_sqlite3.c rsdb_snprintf.c
EXTRA_solanum_bantool_SOURCES = sqlite3.c
solanum_bantool_LDADD = ../librb/src/librb.la @SQLITE_LD@ @SQLITE_OBJ@
solanum_bantool_DEPENDENCIES = @SQLITE_OBJ@

2
bandb/bandb.c

@ -308,7 +308,7 @@ main(int argc, char *argv[])
fprintf(stderr,
"This is the solanum bandb for internal ircd use.\n");
fprintf(stderr,
"You aren't supposed to run me directly (did you want bantool?). Exiting.\n");
"You aren't supposed to run me directly (did you want solanum-bantool?). Exiting.\n");
exit(1);
}
rsdb_init(db_error_cb);

Loading…
Cancel
Save