aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorJim Blandy1992-05-10 18:15:10 +0000
committerJim Blandy1992-05-10 18:15:10 +0000
commite065a56e2d6322cba165ceb5c1d46cc59c5a5148 (patch)
tree4b00ff121a271a6b9e8df84cf7eb1fb340be0e3d /lib-src
parent1b1f8f85bf08bd6b1cdb5ca8d731ff3b12ff60d2 (diff)
downloademacs-e065a56e2d6322cba165ceb5c1d46cc59c5a5148.tar.gz
emacs-e065a56e2d6322cba165ceb5c1d46cc59c5a5148.zip
*** empty log message ***
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in32
-rw-r--r--lib-src/make-docfile.c12
2 files changed, 25 insertions, 19 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 9df18a74517..b3bf673bfa8 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -118,52 +118,52 @@ getopt.o: getopt.c getopt.h
118getopt1.o: getopt1.c getopt.h 118getopt1.o: getopt1.c getopt.h
119 119
120etags: etags.c $(GETOPTDEPS) 120etags: etags.c $(GETOPTDEPS)
121 $(CC) -o etags ${CFLAGS} -DETAGS etags.c $(GETOPTOBJS) $(LOADLIBES) 121 $(CC) ${CFLAGS} -DETAGS etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags
122 122
123ctags: etags.c $(GETOPTDEPS) 123ctags: etags.c $(GETOPTDEPS)
124 $(CC) -o ctags ${CFLAGS} -DCTAGS etags.c $(GETOPTOBJS) $(LOADLIBES) 124 $(CC) ${CFLAGS} -DCTAGS etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags
125 125
126wakeup: wakeup.c 126wakeup: wakeup.c
127 $(CC) -o wakeup ${CFLAGS} wakeup.c $(LOADLIBES) 127 $(CC) ${CFLAGS} wakeup.c $(LOADLIBES) -o wakeup
128 128
129make-docfile: make-docfile.c 129make-docfile: make-docfile.c
130 $(CC) -o make-docfile ${CFLAGS} make-docfile.c $(LOADLIBES) 130 $(CC) ${CFLAGS} make-docfile.c $(LOADLIBES) -o make-docfile
131 131
132digest-doc: digest-doc.c 132digest-doc: digest-doc.c
133 $(CC) -o digest-doc ${CFLAGS} digest-doc.c $(LOADLIBES) 133 $(CC) ${CFLAGS} digest-doc.c $(LOADLIBES) -o digest-doc
134 134
135sorted-doc: sorted-doc.c 135sorted-doc: sorted-doc.c
136 $(CC) -o sorted-doc ${CFLAGS} sorted-doc.c $(LOADLIBES) 136 $(CC) ${CFLAGS} sorted-doc.c $(LOADLIBES) -o sorted-doc
137 137
138b2m: b2m.c 138b2m: b2m.c
139 $(CC) -o b2m ${CFLAGS} b2m.c $(LOADLIBES) 139 $(CC) ${CFLAGS} b2m.c $(LOADLIBES) -o b2m
140 140
141movemail: movemail.c ../src/config.h 141movemail: movemail.c ../src/config.h
142 $(CC) -o movemail ${CFLAGS} movemail.c $(LOADLIBES) 142 $(CC) ${CFLAGS} movemail.c $(LOADLIBES) -o movemail
143 143
144cvtmail: cvtmail.c 144cvtmail: cvtmail.c
145 $(CC) -o cvtmail ${CFLAGS} cvtmail.c $(LOADLIBES) 145 $(CC) ${CFLAGS} cvtmail.c $(LOADLIBES) -o cvtmail
146 146
147fakemail: fakemail.c ../src/config.h 147fakemail: fakemail.c ../src/config.h
148 $(CC) -o fakemail ${CFLAGS} fakemail.c $(LOADLIBES) 148 $(CC) ${CFLAGS} fakemail.c $(LOADLIBES) -o fakemail
149 149
150yow: yow.c ../src/paths.h 150yow: yow.c ../src/paths.h
151 $(CC) -o yow ${CFLAGS} yow.c $(LOADLIBES) 151 $(CC) ${CFLAGS} yow.c $(LOADLIBES) -o yow
152 152
153env: env.c ../src/config.h 153env: env.c ../src/config.h
154 $(CC) -o env -DEMACS ${CFLAGS} env.c $(LOADLIBES) 154 $(CC) -DEMACS ${CFLAGS} env.c $(LOADLIBES) -o env
155 155
156emacsserver: emacsserver.c ../src/config.h 156emacsserver: emacsserver.c ../src/config.h
157 $(CC) -o emacsserver ${CFLAGS} emacsserver.c $(LOADLIBES) 157 $(CC) ${CFLAGS} emacsserver.c $(LOADLIBES) -o emacsserver
158 158
159emacsclient: emacsclient.c ../src/config.h 159emacsclient: emacsclient.c ../src/config.h
160 $(CC) -o emacsclient ${CFLAGS} emacsclient.c $(LOADLIBES) 160 $(CC) ${CFLAGS} emacsclient.c $(LOADLIBES) -o emacsclient
161 161
162hexl: hexl.c 162hexl: hexl.c
163 $(CC) -o hexl ${CFLAGS} hexl.c $(LOADLIBES) 163 $(CC) ${CFLAGS} hexl.c $(LOADLIBES) -o hexl
164 164
165timer: getdate.o timer.o 165timer: getdate.o timer.o
166 $(CC) -o timer $(CFLAGS) getdate.o timer.o 166 $(CC) $(CFLAGS) getdate.o timer.o -o timer
167 167
168# These are NOT included in INSTALLABLES or UTILITIES. 168# These are NOT included in INSTALLABLES or UTILITIES.
169# See ../src/ymakefile. 169# See ../src/ymakefile.
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 1af038027e0..2436ac6458f 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -1,11 +1,11 @@
1/* Generate doc-string file for GNU Emacs from source files. 1/* Generate doc-string file for GNU Emacs from source files.
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
6GNU Emacs is free software; you can redistribute it and/or modify 6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option) 8the Free Software Foundation; either version 2, or (at your option)
9any later version. 9any later version.
10 10
11GNU Emacs is distributed in the hope that it will be useful, 11GNU Emacs is distributed in the hope that it will be useful,
@@ -166,7 +166,13 @@ write_c_args (out, buf, minargs, maxargs)
166 else if (c == ' ' && space) 166 else if (c == ' ' && space)
167 continue; 167 continue;
168 space = (c == ' '); 168 space = (c == ' ');
169 putc (c, out); 169
170 /* Print the C arguments as they would appear in Elisp;
171 print underscores as hyphens. */
172 if (c == '_')
173 putc ('-');
174 else
175 putc (c, out);
170 } 176 }
171 putc ('\n', out); 177 putc ('\n', out);
172} 178}