diff options
author | ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-30 00:01:00 +0000 |
---|---|---|
committer | ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-30 00:01:00 +0000 |
commit | b738b7d6bc550ebdfb2e5b7068afa54dc6e1f9f7 (patch) | |
tree | 9d591c9aa2d9c2677bc83045a330c198c0577a96 /src | |
parent | 7b4c661d80793c26378247b1f059f59aba1aedf2 (diff) |
BUILD : 1.7.8 (654) BUGS : NOTES : DrSteins Makefile Patches...
git-svn-id: svn://svn.anope.org/anope/trunk@654 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@502 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/Makefile | 19 | ||||
-rw-r--r-- | src/tools/README | 4 |
2 files changed, 14 insertions, 9 deletions
diff --git a/src/tools/Makefile b/src/tools/Makefile index 7b3510539..d28b68981 100644 --- a/src/tools/Makefile +++ b/src/tools/Makefile @@ -1,5 +1,5 @@ -OBJS = anopesmtp.o -SRCS = anopesmtp.c +OBJS = $(SRCS:.c=.o) +SRCS = anopesmtp.c db-merger.c epona2anope.c INCLUDES = ../../include/services.h @@ -12,7 +12,7 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \ .c.o: $(CC) $(CFLAGS) -I../include/ -c $< -all: anopesmtp +all: ${OBJS} distclean: clean spotless @@ -20,15 +20,20 @@ anopesmpt: $(OBJS) $(CC) $(CFLAGS) $(OBJS) $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS) $(OBJS): Makefile -anopesmpt.o: anopesmpt.c $(INCLUDES) +anopesmtp.o: anopesmtp.c $(INCLUDES) +db-merger.o: db-merger.c $(INCLUDES) +epona2anope.o: epona2anope.c $(INCLUDES) clean: - rm -f *.o anopesmtp a.out + rm -f *.o anopesmtp a.out db-merger epona2anope spotless: clean -install: anopesmtp +install: anopesmtp db-merger epona2anope test -d ${BINDEST} || mkdir ${BINDEST} - $(INSTALL) anopesmtp $(BINDEST)/anopesmtp + test -d $(BINDEST)/tools || mkdir $(BINDEST)/tools + $(INSTALL) anopesmtp $(BINDEST)/tools/anopesmtp + $(INSTALL) db-merger $(BINDEST)/tools/db-merger + $(INSTALL) epona2anope $(BINDEST)/tools/epona2anope DUMMY: diff --git a/src/tools/README b/src/tools/README index 331beb757..3acb80ad2 100644 --- a/src/tools/README +++ b/src/tools/README @@ -14,10 +14,10 @@ Anope Bundled Tools options. To use the SMTP client instead of sendmail, find the line in your services configuration file (services.conf) that defines SendMailPath. On that line, change the path to your services installation directory, then - followed by "anopesmtp" and the IP address of a valid SMTP server. It + followed by "tools/anopesmtp" and the IP address of a valid SMTP server. It should look like this: - SendMailPath "/home/anope/services/anopesmtp 127.0.0.1" + SendMailPath "/home/anope/services/tools/anopesmtp 127.0.0.1" If the SMTP client doesn't send mail, or if there's an other problem with it, you can compile it in debug mode. To do this, open smtp.h, and look |