Underscores in file names suck, because you need an extra key-press to
type them compared to the hyphen. For this reason (and for consistency) I corrected this horrible, horrible mistake of the past and renamed those files.
This commit is contained in:
parent
7d6693572e
commit
37d2f1c693
28
Makefile.in
28
Makefile.in
@ -29,11 +29,11 @@ FLAGS_TO_PASS = MFLAGS="$(MFLAGS)" CC="$(CC)" AR="$(AR)" \
|
||||
YACC="$(YACC)" CFLAGS="$(CFLAGS)" \
|
||||
CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
|
||||
|
||||
OBJS = acl.o archive.o authen.o help.o io.o generate_cookie.o \
|
||||
OBJS = acl.o archive.o authen.o help.o io.o generate-cookie.o \
|
||||
filter.o handleacl.o hermes.o index.o config-files.o \
|
||||
listserv.o mailer.o members.o parsearray.o password.o \
|
||||
rfcparse.o subscribe.o tool.o unsubscribe.o main.o \
|
||||
queue_command.o queue_posting.o approve.o address-db.o \
|
||||
queue-command.o queue-posting.o approve.o address-db.o \
|
||||
version.o
|
||||
LIBS = librfc822/librfc822.a libmpools/libmpools.a \
|
||||
liblists/liblists.a libargv/libargv.a \
|
||||
@ -58,16 +58,16 @@ petidomo.1: petidomo.pod
|
||||
/tmp/petidomo.pod >petidomo.1; \
|
||||
rm -f /tmp/petidomo.pod
|
||||
|
||||
acl.c acl_scan.h: acl.y
|
||||
acl.c acl-scan.h: acl.y
|
||||
$(YACC) -d -p acl acl.y
|
||||
mv y.tab.c acl.c
|
||||
mv y.tab.h acl_scan.h
|
||||
mv y.tab.h acl-scan.h
|
||||
|
||||
acl_scan.c: acl_scan.l acl_scan.h
|
||||
$(LEX) -i -Pacl acl_scan.l
|
||||
mv lex.acl.c acl_scan.c
|
||||
acl-scan.c: acl-scan.l acl-scan.h
|
||||
$(LEX) -i -Pacl acl-scan.l
|
||||
mv lex.acl.c acl-scan.c
|
||||
|
||||
acl.c: acl_scan.c
|
||||
acl.c: acl-scan.c
|
||||
|
||||
$(LIBS):
|
||||
@subdir=`echo $@ | sed -e 's@/.*@@'`; \
|
||||
@ -114,7 +114,7 @@ clean::
|
||||
rm -f petidomo
|
||||
rm -f petidomo.1
|
||||
rm -f $(OBJS)
|
||||
rm -f acl_scan.c acl_scan.h acl.c
|
||||
rm -f acl-scan.c acl-scan.h acl.c
|
||||
|
||||
distclean:: clean
|
||||
rm -f config.log config.cache config.status Makefile
|
||||
@ -135,8 +135,8 @@ dist: distclean
|
||||
|
||||
# Dependencies
|
||||
|
||||
acl.o: libtext/text.h petidomo.h acl_scan.c acl_scan.h
|
||||
acl_scan.o: acl_scan.h
|
||||
acl.o: libtext/text.h petidomo.h acl-scan.c acl-scan.h
|
||||
acl-scan.o: acl-scan.h
|
||||
address-db.o: libtext/text.h petidomo.h
|
||||
approve.o: petidomo.h
|
||||
archive.o: libtext/text.h petidomo.h
|
||||
@ -144,7 +144,7 @@ authen.o: libtext/text.h petidomo.h
|
||||
config-files.o: libtext/text.h liblists/lists.h libconfigfile/configfile.h
|
||||
config-files.o: petidomo.h
|
||||
filter.o: petidomo.h
|
||||
generate_cookie.o: petidomo.h
|
||||
generate-cookie.o: petidomo.h
|
||||
handleacl.o: petidomo.h
|
||||
help.o: libtext/text.h petidomo.h
|
||||
hermes.o: libtext/text.h petidomo.h
|
||||
@ -156,8 +156,8 @@ main.o: libargv/argv.h libtext/text.h petidomo.h version.c
|
||||
members.o: libtext/text.h petidomo.h
|
||||
parsearray.o: petidomo.h
|
||||
password.o: petidomo.h
|
||||
queue_command.o: libtext/text.h petidomo.h
|
||||
queue_posting.o: libtext/text.h petidomo.h
|
||||
queue-command.o: libtext/text.h petidomo.h
|
||||
queue-posting.o: libtext/text.h petidomo.h
|
||||
rfcparse.o: librfc822/rfc822.h libtext/text.h petidomo.h
|
||||
subscribe.o: libtext/text.h petidomo.h
|
||||
tool.o: libtext/text.h petidomo.h
|
||||
|
||||
1740
acl-scan.c
Normal file
1740
acl-scan.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -19,7 +19,7 @@
|
||||
|
||||
%{
|
||||
#include <ctype.h>
|
||||
#include "acl_scan.h"
|
||||
#include "acl-scan.h"
|
||||
%}
|
||||
%%
|
||||
^[ \t]*#.*$ /* ignore comments */
|
||||
2
acl.y
2
acl.y
@ -39,7 +39,7 @@ int operation, g_rc;
|
||||
char * g_parameter = NULL;
|
||||
struct Mail * g_MailStruct;
|
||||
|
||||
#include "acl_scan.c"
|
||||
#include "acl-scan.c"
|
||||
|
||||
#define YYERROR_VERBOSE
|
||||
%}
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
#ifndef __PETIDOMO_H__
|
||||
#define __PETIDOMO_H__ 1
|
||||
|
||||
|
||||
/********** Useful defines and declarations **********/
|
||||
|
||||
#ifndef __HAVE_DEFINED_BOOL__
|
||||
@ -240,19 +239,19 @@ struct Parse
|
||||
};
|
||||
extern struct Parse ParseArray[];
|
||||
|
||||
/********** generate_cookie.c **********/
|
||||
/********** generate-cookie.c **********/
|
||||
|
||||
char* generate_cookie(const char*);
|
||||
|
||||
/********** queue_posting.c **********/
|
||||
/********** queue-posting.c **********/
|
||||
|
||||
char* queue_posting(const struct Mail* mail, const char* listname);
|
||||
|
||||
/********** queue_command.c **********/
|
||||
/********** queue-command.c **********/
|
||||
|
||||
char* queue_command(const struct Mail* mail, const char* command);
|
||||
|
||||
/********** address_db.c **********/
|
||||
/********** address-db.c **********/
|
||||
|
||||
int is_address_on_list(const char* file, const char* address);
|
||||
int add_address(const char* file, const char* address);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user