=== modified file 'src/tools/Makefile.am'
|
|
|
1 | | bin_PROGRAMS=analyze chmorph example hunspell munch unmunch hzip hunzip |
| 1 | bin_PROGRAMS=hunspell-analyze hunspell-chmorph hunspell-example hunspell hunspell-munch hunspell-unmunch hzip hunzip |
2 | 2 | |
3 | 3 | INCLUDES=-I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers |
4 | 4 | |
… |
… |
|
6 | 6 | hunzip_SOURCES=hunzip.cxx |
7 | 7 | hunzip_LDADD = ../hunspell/libhunspell-1.2.la |
8 | 8 | |
9 | | munch_SOURCES=munch.c |
10 | | unmunch_SOURCES=unmunch.c |
| 9 | hunspell_munch_SOURCES=munch.c |
| 10 | hunspell_unmunch_SOURCES=unmunch.c |
11 | 11 | include_HEADERS=munch.h unmunch.h |
12 | 12 | |
13 | | example_SOURCES=example.cxx |
14 | | example_LDADD = ../hunspell/libhunspell-1.2.la |
| 13 | hunspell_example_SOURCES=example.cxx |
| 14 | hunspell_example_LDADD = ../hunspell/libhunspell-1.2.la |
15 | 15 | |
16 | 16 | hunspell_SOURCES=hunspell.cxx |
17 | 17 | hunspell_LDADD = @LIBINTL@ ../hunspell/libhunspell-1.2.la \ |
18 | 18 | ../parsers/libparsers.a @CURSESLIB@ @READLINELIB@ |
19 | 19 | |
20 | | analyze_SOURCES=analyze.cxx |
21 | | analyze_LDADD = ../hunspell/libhunspell-1.2.la |
22 | | |
23 | | chmorph_SOURCES=chmorph.cxx |
24 | | chmorph_LDADD = ../hunspell/libhunspell-1.2.la ../parsers/libparsers.a |
25 | | |
26 | | noinst_PROGRAMS=example |
| 20 | hunspell_analyze_SOURCES=analyze.cxx |
| 21 | hunspell_analyze_LDADD = ../hunspell/libhunspell-1.2.la |
| 22 | |
| 23 | hunspell_chmorph_SOURCES=chmorph.cxx |
| 24 | hunspell_chmorph_LDADD = ../hunspell/libhunspell-1.2.la ../parsers/libparsers.a |
| 25 | |
| 26 | noinst_PROGRAMS=hunspell-example |
27 | 27 | |
28 | 28 | EXTRA_DIST=makealias affixcompress |
=== modified file 'src/tools/example.cxx'
|
|
|
17 | 17 | /* first parse the command line options */ |
18 | 18 | |
19 | 19 | if (argc < 4) { |
20 | | fprintf(stderr,"example (now it works with more dictionary files):\n"); |
21 | | fprintf(stderr,"example affix_file dictionary_file(s) file_of_words_to_check\n"); |
| 20 | fprintf(stderr,"hunspell-example (now it works with more dictionary files):\n"); |
| 21 | fprintf(stderr,"hunspell-example affix_file dictionary_file(s) file_of_words_to_check\n"); |
22 | 22 | exit(1); |
23 | 23 | } |
24 | 24 | |
=== modified file 'src/tools/munch.c'
|
|
|
42 | 42 | wf = mystrdup(argv[1]); |
43 | 43 | } else { |
44 | 44 | fprintf(stderr,"correct syntax is:\n"); |
45 | | fprintf(stderr,"munch word_list_file affix_file\n"); |
| 45 | fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); |
46 | 46 | exit(1); |
47 | 47 | } |
48 | 48 | if (argv[2]) { |
49 | 49 | af = mystrdup(argv[2]); |
50 | 50 | } else { |
51 | 51 | fprintf(stderr,"correct syntax is:\n"); |
52 | | fprintf(stderr,"munch word_list_file affix_file\n"); |
| 52 | fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); |
53 | 53 | exit(1); |
54 | 54 | } |
55 | 55 | |
=== modified file 'src/tools/unmunch.c'
|
|
|
39 | 39 | wf = mystrdup(argv[1]); |
40 | 40 | } else { |
41 | 41 | fprintf(stderr,"correct syntax is:\n"); |
42 | | fprintf(stderr,"unmunch dic_file affix_file\n"); |
| 42 | fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); |
43 | 43 | exit(1); |
44 | 44 | } |
45 | 45 | if (argv[2]) { |
46 | 46 | af = mystrdup(argv[2]); |
47 | 47 | } else { |
48 | 48 | fprintf(stderr,"correct syntax is:\n"); |
49 | | fprintf(stderr,"unmunch dic_file affix_file\n"); |
| 49 | fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); |
50 | 50 | exit(1); |
51 | 51 | } |
52 | 52 | |
=== modified file 'tests/test.sh'
|
|
|
34 | 34 | shopt -s expand_aliases |
35 | 35 | |
36 | 36 | alias hunspell='../src/tools/hunspell' |
37 | | alias analyze='../src/tools/analyze' |
| 37 | alias analyze='../src/tools/hunspell-analyze' |
38 | 38 | |
39 | 39 | if [ "$VALGRIND" != "" ]; then |
40 | 40 | rm -f $TEMPDIR/test.pid* |