]> Pileus Git - ~andy/fetchmail/blobdiff - Makefile.in
HTMLize the design notes.
[~andy/fetchmail] / Makefile.in
index 974a6b64f3fb803036070a1e88f07dc04fe95354..0904dcb5451ee53e8b341bd650f088df3cf2ed78 100644 (file)
@@ -77,7 +77,7 @@ ETAGS = etags -tw
 CTAGS = ctags -tw
 
 protobjs = rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o \
-       etrn.o fetchmail.o options.o daemon.o smtp.o driver.o rfc822.o \
+       etrn.o fetchmail.o env.o options.o daemon.o smtp.o driver.o rfc822.o \
        xmalloc.o uid.o mxget.o md5c.o md5ify.o interface.o netrc.o base64.o \
        error.o
 
@@ -85,7 +85,8 @@ objs = $(protobjs) $(extras) $(EXTRAOBJ)
 
 srcs = $(srcdir)/socket.c $(srcdir)/getpass.c $(srcdir)/pop2.c                 \
        $(srcdir)/pop3.c $(srcdir)/imap.c $(srcdir)/etrn.c              \
-       $(srcdir)/fetchmail.c $(srcdir)/options.c $(srcdir)/daemon.c    \
+       $(srcdir)/fetchmail.c $(srcdir)/env.c                           \
+       $(srcdir)/options.c $(srcdir)/daemon.c                          \
        $(srcdir)/driver.c $(srcdir)/rfc822.c $(srcdir)/smtp.c          \
        $(srcdir)/xmalloc.c $(srcdir)/uid.c $(srcdir)/mxget.c           \
        $(srcdir)/md5c.c $(srcdir)/md5ify.c $(srcdir)/interface.c       \
@@ -106,9 +107,8 @@ fetchmail: $(objs)
 rfc822: rfc822.c
        gcc -DTESTMAIN -g rfc822.c -o rfc822
 
-# -I. is needed to find config.h in the build directory.
 .c.o:
-       $(CC) $(defines) -c -I. -I$(srcdir) $(CFLAGS) $< $(OUTPUT_OPTION)
+       $(CC) $(defines) -c -I$(srcdir) $(CFLAGS) $< $(OUTPUT_OPTION)
 
 # lex rule
 .l.o:
@@ -138,7 +138,7 @@ MAKE = make
 
 FORCE:
 
-tagsrcs = $(srcs) $(srcdir)/rcfile_l.c $(srcdir)/rcfile_y.c
+tagsrcs = $(srcs) rcfile_l.c rcfile_y.c
 TAGS: $(tagsrcs)
        $(ETAGS) $(tagsrcs)
 tags: $(tagsrcs)
@@ -194,8 +194,8 @@ config.h.in: acconfig.h configure.in
 .NOEXPORT:
 
 # Special dependencies, not easily handled without explicit rules
-$(srcdir)/rcfile_l.c $(srcdir)/rcfile_l.h: $(srcdir)/rcfile_l.l
-$(srcdir)/rcfile_y.c $(srcdir)/rcfile_y.h: $(srcdir)/rcfile_y.y
+rcfile_l.c rcfile_l.h: $(srcdir)/rcfile_l.l
+rcfile_y.c rcfile_y.h: $(srcdir)/rcfile_y.y
 
 parser = $(srcdir)/rcfile_l.l $(srcdir)/rcfile_y.y
 headers = $(srcdir)/fetchmail.h $(srcdir)/socket.h $(srcdir)/smtp.h \
@@ -204,7 +204,8 @@ headers = $(srcdir)/fetchmail.h $(srcdir)/socket.h $(srcdir)/smtp.h \
 extra = $(srcdir)/alloca.c $(srcdir)/getopt.[ch] $(srcdir)/getopt1.c \
        $(srcdir)/strcasecmp.c
 docs = $(srcdir)/COPYING $(srcdir)/FEATURES $(srcdir)/fetchmail-features.html \
-       $(srcdir)/INSTALL $(srcdir)/NEWS $(srcdir)/NOTES $(srcdir)/README \
+       $(srcdir)/design-notes.html $(srcdir)/NOTES \
+       $(srcdir)/INSTALL $(srcdir)/NEWS  $(srcdir)/README \
        $(srcdir)/fetchmail.lsm $(srcdir)/sample.rcfile \
        $(srcdir)/*.man $(srcdir)/FAQ $(srcdir)/fetchmail.FAQ.html
 config = $(srcdir)/Makefile.in $(srcdir)/configure.in $(srcdir)/configure \
@@ -220,10 +221,16 @@ MANIFEST: $(srcdir) Makefile.in
        @wc -l MANIFEST
 
 FAQ: fetchmail.FAQ.html
-       lynx -dump -nolist fetchmail.FAQ.html >FAQ
+       echo "(This document was generated from fetchmail.FAQ.html)" >FAQ
+       lynx -dump -nolist fetchmail.FAQ.html >>FAQ
 
 FEATURES: fetchmail-features.html
-       lynx -dump -nolist fetchmail-features.html | grep -v "Back to " >FEATURES
+       echo "(This document was generated from fetchmail-features.html)" >FEATURES
+       lynx -dump -nolist fetchmail-features.html | grep -v "Back to " >>FEATURES
+
+NOTES: design-notes.html
+       echo "(This document was generated from design-notes.html)" >NOTES
+       lynx -dump -nolist design-notes.html | grep -v "Back to " >NOTES
 
 # Make distribution, update LSM with proper size, remake distribution
 dist: Makefile.in