really remove doc/
[apps/madmutt.git] / Makefile.am
index 2e155df..a1279fb 100644 (file)
@@ -2,13 +2,13 @@
 ## Use aclocal -I m4; automake --foreign
 
 AUTOMAKE_OPTIONS = foreign
-EXTRA_PROGRAMS = madmutt_dotlock makedoc
+EXTRA_PROGRAMS = madmutt_dotlock
 
 if BUILD_NNTP
 NNTP_SUBDIR = nntp
 endif
 
-SUBDIRS = tools intl m4 po $(XXXXXXXXXXXX_doc) apidoc contrib \
+SUBDIRS = tools intl m4 po \
          lib-lua lib-mime lib-lib lib-mx lib-hash lib-sys lib-ui \
          pop imap $(NNTP_SUBDIR)
 
@@ -18,7 +18,7 @@ DISTCLEANFILES = $(BUILT_SOURCES)
 bin_PROGRAMS = madmutt madmutt_dotlock smime_keysng
 madmutt_SOURCES = $(BUILT_SOURCES) \
        alias.c attach.c base64.c browser.c buffy.c charset.c commands.c \
-       compose.c copy.c crypt.c editmsg.c init.c keymap.c lib.c \
+       compose.c copy.c crypt.c editmsg.c init.c keymap.c \
        flags.c from.c handler.c headers.c help.c hook.c \
        main.c muttlib.c mutt_idna.c pager.c pattern.c postpone.c recvattach.c recvcmd.c \
        score.c send.c sendlib.c sort.c state.c thread.c account.c remailer.c
@@ -51,10 +51,6 @@ madmutt_DEPENDENCIES = \
                       $(top_builddir)/imap/libimap.a \
                       $(LIBNNTPDEPS) $(INTLDEPS)
 
-makedoc_SOURCES = makedoc.c
-makedoc_LDADD = -Llib-lib -llib
-makedoc_DEPENDENCIES = $(top_builddir)/lib-lib/liblib.a
-
 CPP=@CPP@
 
 DEFS=-DPKGDATADIR=\"$(pkgdatadir)\" -DSYSCONFDIR=\"$(sysconfdir)\" \
@@ -75,15 +71,15 @@ EXTRA_DIST = config.rpath  COPYRIGHT GPL OPS TODO \
        buffy.h charset.h copy.h crypt.c dotlock.h functions.def gen_defs \
        recvattach.h handler.h thread.h globals.h init.h keymap.h \
        mime.h mutt.h mutt_sasl.h pager.h protos.h \
-       sort.h mime.types autogen.sh remailer.c remailer.h browser.h state.h \
-       lib.h smime_keys.pl Madmuttrc.head Madmuttrc \
-       makedoc.c stamp-doc-rc README.SSL depcomp mutt_idna.h mutt_libesmtp.h
+       sort.h autogen.sh remailer.c remailer.h browser.h state.h \
+       smime_keys.pl Madmuttrc.head Madmuttrc \
+       README.SSL depcomp mutt_idna.h mutt_libesmtp.h
 
 madmutt_dotlock_SOURCES = dotlock.c
-madmutt_dotlock_LDADD = -Llib-lib -llib @LIBOBJS@
+madmutt_dotlock_LDADD = @LIBOBJS@ $(top_builddir)/lib-lib/liblib.a
 madmutt_dotlock_DEPENDENCIES = @LIBOBJS@ $(top_builddir)/lib-lib/liblib.a
 
-CLEANFILES = stamp-doc-rc makedoc keymap_defs.h Madmuttrc
+CLEANFILES = keymap_defs.h Madmuttrc
 
 ACLOCAL_AMFLAGS = -I m4
 
@@ -119,21 +115,6 @@ install-data-local: Madmuttrc
        elif [ ! -f $(DESTDIR)$(sysconfdir)/Madmuttrc ] ; then \
                $(INSTALL) -m 644 Madmuttrc $(DESTDIR)$(sysconfdir) ; \
        fi
-       -if [ ! -f $(DESTDIR)$(sysconfdir)/madmutt-mime.types ]; then \
-               $(INSTALL) -m 644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir)/madmutt-mime.types; \
-       fi
-
-
-update-doc: stamp-doc-rc
-       (cd doc && $(MAKE) update-doc)
-
-Madmuttrc: stamp-doc-rc
-
-stamp-doc-rc: $(srcdir)/init.h makedoc Madmuttrc.head
-       -rm -f Madmuttrc stamp-doc-rc
-       $(CPP) $(INCLUDES) $(DEFS) $(CPPFLAGS) -D_MAKEDOC -C \
-               $(srcdir)/init.h | ./makedoc -c | cat Madmuttrc.head - > Madmuttrc
-       touch $@
 
 include tools/cpkg2c.mk
 -include tools/cflags.mk