2000-05-13 15:36:47 +00:00
|
|
|
--- doc/Makefile.in.orig Wed Mar 29 11:42:49 2000
|
2000-07-10 22:04:51 +00:00
|
|
|
+++ doc/Makefile.in Mon Jun 12 16:50:51 2000
|
2000-05-13 15:36:47 +00:00
|
|
|
@@ -58,13 +58,16 @@
|
|
|
|
topsrcdir_DOCFILES = COPYRIGHT GPL INSTALL ChangeLog \
|
|
|
|
README NEWS TODO README.SECURITY README.SSL README.UPGRADE
|
1998-07-16 05:57:13 +00:00
|
|
|
|
2000-05-13 15:36:47 +00:00
|
|
|
-all: muttrc.man try-html try-txt
|
|
|
|
+all: muttrc.man try-html try-txt try-latin1
|
1998-07-16 05:57:13 +00:00
|
|
|
|
2000-05-13 15:36:47 +00:00
|
|
|
try-html: ../makedoc
|
|
|
|
- test -f manual.html || $(MAKE) manual.html || cp $(srcdir)/manual*.html ./
|
|
|
|
+ $(MAKE) manual.html || cp $(srcdir)/manual*.html ./
|
1998-12-13 01:31:07 +00:00
|
|
|
|
2000-05-13 15:36:47 +00:00
|
|
|
try-txt: ../makedoc
|
|
|
|
- test -f manual.txt || $(MAKE) manual.txt || cp $(srcdir)/manual.txt ./
|
|
|
|
+ $(MAKE) manual.txt || cp $(srcdir)/manual.txt ./
|
1996-12-31 15:00:18 +00:00
|
|
|
+
|
2000-05-13 15:36:47 +00:00
|
|
|
+try-latin1:
|
|
|
|
+ $(MAKE) manual.latin1 || cp $(srcdir)/manual.latin1 ./
|
1998-12-13 01:31:07 +00:00
|
|
|
|
2000-05-13 15:36:47 +00:00
|
|
|
install: all
|
1998-12-13 01:31:07 +00:00
|
|
|
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
|
2000-07-10 22:04:51 +00:00
|
|
|
@@ -75,16 +78,16 @@
|
2000-05-13 15:36:47 +00:00
|
|
|
$(INSTALL) -m 644 muttrc.man $(DESTDIR)$(mandir)/man5/muttrc.5
|
2000-07-10 22:04:51 +00:00
|
|
|
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)
|
|
|
|
for f in $(srcdir_DOCFILES) ; do \
|
2000-05-13 15:36:47 +00:00
|
|
|
- $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir) ; \
|
2000-07-10 22:04:51 +00:00
|
|
|
+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir) ; \
|
|
|
|
done
|
|
|
|
for f in $(topsrcdir_DOCFILES) ; do \
|
2000-05-13 15:36:47 +00:00
|
|
|
- $(INSTALL) -m 644 $(top_srcdir)/$$f $(DESTDIR)$(docdir) ; \
|
2000-07-10 22:04:51 +00:00
|
|
|
+ $(INSTALL) -m 644 $(top_srcdir)/$$f $(DESTDIR)$(docdir) ; \
|
|
|
|
done
|
|
|
|
$(INSTALL) -m 644 manual.txt $(DESTDIR)$(docdir) || true
|
2000-05-13 15:36:47 +00:00
|
|
|
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/html
|
|
|
|
- for file in manual*.html ; do \
|
|
|
|
- $(INSTALL) -m 644 $$file $(DESTDIR)$(docdir)/html/ || true ;\
|
|
|
|
- done
|
|
|
|
+ # $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/html
|
|
|
|
+ # for file in manual*.html ; do \
|
|
|
|
+ # $(INSTALL) -m 644 $$file $(DESTDIR)$(docdir)/html/ || true ;\
|
|
|
|
+ # done
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
-rm -f $(DESTDIR)$(mandir)/man1/mutt.1
|
|
|
|
@@ -93,14 +96,18 @@
|
|
|
|
-rm -rf $(DESTDIR)$(docdir)
|
|
|
|
|
|
|
|
manual.txt: manual.sgml
|
|
|
|
- if sgml2txt -c latin manual ; then \
|
|
|
|
- uniq < manual.txt | expand > _manual.txt ; \
|
|
|
|
- rm manual.txt ; \
|
|
|
|
+ if sgmlfmt -f ascii manual; then \
|
|
|
|
+ uniq < manual.ascii | expand > _manual.txt ; \
|
|
|
|
+ rm -f manual.txt manual.ascii; \
|
|
|
|
mv _manual.txt manual.txt ;\
|
|
|
|
fi
|
1996-12-31 15:00:18 +00:00
|
|
|
|
|
|
|
manual.html: manual.sgml
|
2000-05-13 15:36:47 +00:00
|
|
|
- sgml2html manual || true
|
|
|
|
+ @# sgml2html manual || true
|
|
|
|
+ sgmlfmt -f html manual || true
|
1996-12-31 15:00:18 +00:00
|
|
|
+
|
|
|
|
+manual.latin1: manual.sgml
|
2000-05-13 15:36:47 +00:00
|
|
|
+ sgmlfmt -f latin1 manual || true
|
1996-12-31 15:00:18 +00:00
|
|
|
|
2000-05-13 15:36:47 +00:00
|
|
|
manual.ps: manual.sgml
|
|
|
|
sgml2latex --output=ps manual || true
|