Rename the project

This commit is contained in:
Přemysl Eric Janouch 2013-05-11 04:17:39 +02:00
parent 1e0d43ef65
commit 8ab74e16d7
3 changed files with 10 additions and 10 deletions

10
.gitignore vendored
View File

@ -1,15 +1,15 @@
# Backup files
*.*~
# Compile output
/sdcli
/sdtui
/add-pronunciation
/test-stardict
*.o
# IDE project files
/sdcli.creator*
/sdcli.includes
/sdcli.files
/sdcli.config
/sdtui.creator*
/sdtui.includes
/sdtui.files
/sdtui.config
# Blah
/GNUmakefile
/.clang_complete

View File

@ -2,7 +2,7 @@ SHELL = /bin/sh
pkgs = ncursesw glib-2.0 gio-2.0
tests = test-stardict
targets = sdcli add-pronunciation $(tests)
targets = sdtui add-pronunciation $(tests)
CFLAGS = -ggdb -std=gnu99 -Wall -Wextra -Wno-missing-field-initializers \
`pkg-config --cflags $(pkgs)`
@ -15,7 +15,7 @@ all: $(targets)
clean:
rm -f $(targets) src/*.o
sdcli: src/sdcli.o src/stardict.o
sdtui: src/sdtui.o src/stardict.o
$(CC) $^ -o $@ $(LDFLAGS)
add-pronunciation: src/add-pronunciation.o src/stardict.o src/generator.o

View File

@ -1,5 +1,5 @@
/*
* StarDict console UI
* StarDict terminal UI
*
* Copyright (c) 2013, Přemysl Janouch <p.janouch@gmail.com>
* All rights reserved.
@ -214,11 +214,11 @@ main (int argc, char *argv[])
abort ();
GError *error = NULL;
GOptionContext *ctx = g_option_context_new ("- StarDict console UI");
GOptionContext *ctx = g_option_context_new ("- StarDict terminal UI");
g_option_context_add_main_entries (ctx, entries, NULL);
if (!g_option_context_parse (ctx, &argc, &argv, &error))
{
g_print ("option parsing failed: %s\n", error->message);
g_printerr ("Error: option parsing failed: %s\n", error->message);
exit (EXIT_FAILURE);
}