]> granicus.if.org Git - neomutt/commitdiff
Some more changes to the installation process.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 8 Oct 1998 13:21:53 +0000 (13:21 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 8 Oct 1998 13:21:53 +0000 (13:21 +0000)
doc/Makefile.in

index ac4fba05afbb4c13bda2e2e4c5a9e83abf9a7876..6c485fa9f9cd2246550a22a91cc194f337e51334 100644 (file)
@@ -31,11 +31,17 @@ DISTFILES = Makefile.in dotlock.man.in  \
        devel-notes.txt                 \
        manual.txt
 
-DOCFILES = PGP-Notes.txt applying-patches.txt devel-notes.txt  \
+srcdir_DOCFILES = PGP-Notes.txt applying-patches.txt   \
+       devel-notes.txt \
        manual.txt
 
+topsrcdir_DOCFILES = COPYRIGHT GPL INSTALL ChangeLog   \
+       README NEWS TODO
 
-all: mutt.man dotlock.man manual.txt try-html
+DOCFILES = manual.txt
+
+
+all: mutt.man dotlock.man try-html try-txt
 
 complete: all html
 
@@ -46,14 +52,19 @@ complete: all html
 try-html:
        -$(MAKE) html
 
+try-txt:
+       -$(MAKE) manual.txt
+
 html: manual.html
 
-install: dotlock.man mutt.man manual.txt
+install: dotlock.man mutt.man all
        $(top_srcdir)/mkinstalldirs $(mandir)/man1
        $(INSTALL) -m 644 mutt.man $(mandir)/man1/mutt.1
        $(INSTALL) -m 644 dotlock.man $(mandir)/man1/mutt.dotlock.1
        $(top_srcdir)/mkinstalldirs $(docdir)
        for f in $(DOCFILES) ; do $(INSTALL) -m 644 $$f $(docdir) ; done
+       for f in $(srcdir_DOCFILES) ; do $(INSTALL) -m 644 $(srcdir)/$$f $(docdir) ; done
+       for f in $(topsrcdir_DOCFILES) ; do $(INSTALL) -m 644 $(top_srcdir)/$$f $(docdir) ; done
        if [ -f manual.html ] ; then \
                $(MAKE) install-html ; \
        fi
@@ -62,11 +73,6 @@ install-html: html
        $(top_srcdir)/mkinstalldirs $(docdir)/html
        for f in manual*.html ; do $(INSTALL) -m 644 $$f $(docdir)/html ; done
 
-mutt.man: mutt.man.in
-       (cd .. ; ./config.status)
-
-dotlock.man: dotlock.man.in
-       (cd .. ; ./config.status)
 
 uninstall:
        -rm -f $(mandir)/man1/mutt.1
@@ -93,6 +99,14 @@ Makefile: Makefile.in ../config.status
        cd .. \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
+mutt.man: mutt.man.in ../config.status
+       cd .. \
+         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+dotlock.man: dotlock.man.in ../config.status
+       cd .. \
+         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
 dist distdir: Makefile $(DISTFILES)
        for file in $(DISTFILES) ; do                           \