summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.in
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-08 13:21:53 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-08 13:21:53 +0000
commit1591f6289259ab7eff2bc77de8e9a84fab1c0366 (patch)
treeca4ff9839b4796afcb7e3b23bb933b342529c7b3 /doc/Makefile.in
parent4f6d7b212263e60bafa0fdd58358456824bfe96d (diff)
Some more changes to the installation process.
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r--doc/Makefile.in30
1 files changed, 22 insertions, 8 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index ac4fba05..6c485fa9 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -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 \