summaryrefslogtreecommitdiff
blob: 70c5b748edba7ca366defed94f5de021703f068d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
=== modified file 'src/tools/Makefile.am'
--- src/tools/Makefile.am	2011-05-24 15:55:29 +0000
+++ src/tools/Makefile.am	2011-05-24 15:58:36 +0000
@@ -1,4 +1,4 @@
-bin_PROGRAMS=analyze chmorph hunspell munch unmunch hzip hunzip
+bin_PROGRAMS=hunspell-analyze hunspell-chmorph hunspell hunspell-munch hunspell-unmunch hzip hunzip
 
 INCLUDES=-I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers
 
@@ -6,8 +6,8 @@
 hunzip_SOURCES=hunzip.cxx
 hunzip_LDADD = ../hunspell/libhunspell-1.3.la
 
-munch_SOURCES=munch.c munch.h
-unmunch_SOURCES=unmunch.c unmunch.h
+hunspell_munch_SOURCES=munch.c munch.h
+hunspell_unmunch_SOURCES=unmunch.c unmunch.h
 
 example_SOURCES=example.cxx
 example_LDADD = ../hunspell/libhunspell-1.3.la
@@ -16,11 +16,11 @@
 hunspell_LDADD = @LIBINTL@ @LIBICONV@ ../parsers/libparsers.a \
 	../hunspell/libhunspell-1.3.la @CURSESLIB@ @READLINELIB@
 
-analyze_SOURCES=analyze.cxx
-analyze_LDADD = ../hunspell/libhunspell-1.3.la
+hunspell_analyze_SOURCES=analyze.cxx
+hunspell_analyze_LDADD = ../hunspell/libhunspell-1.3.la
 
-chmorph_SOURCES=chmorph.cxx
-chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.3.la
+hunspell_chmorph_SOURCES=chmorph.cxx
+hunspell_chmorph_LDADD = ../parsers/libparsers.a ../hunspell/libhunspell-1.3.la
 
 noinst_PROGRAMS=example
 

=== modified file 'src/tools/chmorph.cxx'
--- src/tools/chmorph.cxx	2011-05-24 15:55:29 +0000
+++ src/tools/chmorph.cxx	2011-05-24 16:00:54 +0000
@@ -19,11 +19,11 @@
     for (int i = 1; i < 6; i++)
 	if (!argv[i]) {
 	    fprintf(stderr, 
-	    "chmorph - change affixes by morphological analysis and generation\n" 
-	    "correct syntax is:\nchmorph affix_file "
+	    "hunspell-chmorph - change affixes by morphological analysis and generation\n" 
+	    "correct syntax is:\nhunspell-chmorph affix_file "
             "dictionary_file file_to_convert STRING1 STRING2\n"
             "STRINGS may be arbitrary parts of the morphological descriptions\n"
-	    "example: chmorph hu.aff hu.dic hu.txt SG_2 SG_3 "
+	    "example: hunspell-chmorph hu.aff hu.dic hu.txt SG_2 SG_3 "
 	    " (convert informal Hungarian second person texts to formal third person texts)\n");
 	    exit(1);
 	}

=== modified file 'src/tools/example.cxx'
--- src/tools/example.cxx	2011-05-24 15:55:29 +0000
+++ src/tools/example.cxx	2011-05-24 15:55:37 +0000
@@ -17,8 +17,8 @@
     /* first parse the command line options */
 
     if (argc < 4) {
-        fprintf(stderr,"example (now it works with more dictionary files):\n"); 
-        fprintf(stderr,"example affix_file dictionary_file(s) file_of_words_to_check\n");
+        fprintf(stderr,"hunspell-example (now it works with more dictionary files):\n"); 
+        fprintf(stderr,"hunspell-example affix_file dictionary_file(s) file_of_words_to_check\n");
         exit(1);
     }
   

=== modified file 'src/tools/munch.c'
--- src/tools/munch.c	2011-05-24 15:55:29 +0000
+++ src/tools/munch.c	2011-05-24 15:55:37 +0000
@@ -42,14 +42,14 @@
        wf = mystrdup(argv[1]);
   } else {
     fprintf(stderr,"correct syntax is:\n"); 
-    fprintf(stderr,"munch word_list_file affix_file\n");
+    fprintf(stderr,"hunspell-munch word_list_file affix_file\n");
     exit(1);
   }
   if (argv[2]) {
        af = mystrdup(argv[2]);
   } else {
     fprintf(stderr,"correct syntax is:\n"); 
-    fprintf(stderr,"munch word_list_file affix_file\n");
+    fprintf(stderr,"hunspell-munch word_list_file affix_file\n");
     exit(1);
   }
 

=== modified file 'src/tools/unmunch.c'
--- src/tools/unmunch.c	2011-05-24 15:55:29 +0000
+++ src/tools/unmunch.c	2011-05-24 15:55:37 +0000
@@ -39,14 +39,14 @@
        wf = mystrdup(argv[1]);
   } else {
     fprintf(stderr,"correct syntax is:\n"); 
-    fprintf(stderr,"unmunch dic_file affix_file\n");
+    fprintf(stderr,"hunspell-unmunch dic_file affix_file\n");
     exit(1);
   }
   if (argv[2]) {
        af = mystrdup(argv[2]);
   } else {
     fprintf(stderr,"correct syntax is:\n"); 
-    fprintf(stderr,"unmunch dic_file affix_file\n");
+    fprintf(stderr,"hunspell-unmunch dic_file affix_file\n");
     exit(1);
   }
 

=== modified file 'tests/test.sh'
--- tests/test.sh	2011-05-24 15:55:29 +0000
+++ tests/test.sh	2011-05-24 15:55:37 +0000
@@ -34,7 +34,7 @@
 shopt -s expand_aliases
 
 alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell'
-alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/analyze'
+alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la ../src/tools/hunspell-analyze'
 
 if [ "$VALGRIND" != "" ]; then
   rm -f $TEMPDIR/test.pid*
@@ -43,7 +43,7 @@
   fi
 
   alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/hunspell'
-  alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/analyze'
+  alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/hunspell-analyze'
 fi
 
 # Tests good words