aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mew/files/patch-ac
blob: 3efb03c40dd8bb4f3842b52c8f5cda9cdfdeba7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--- info/Makefile~  Wed Oct 27 08:55:12 1999
+++ info/Makefile   Tue Jul 10 01:25:05 2001
@@ -33,6 +33,7 @@
 
 INFO  = mew.info mew.info-1 mew.info-2 mew.info-3
 JINFO = mew.jis.info mew.jis.info-1 mew.jis.info-2
+MANUALS= 00readme mew.texi
 
 info::
    sed -e 's/@setfilename mew.jis.info/@setfilename mew.info/' \
@@ -57,22 +58,32 @@
        $(MKDIR) $(INFODIR); \
    fi; \
    cp $(INFO) $(INFODIR)
-   -@if [ -x "$(INSTALLINFO)" ]; then \
-       $(INSTALLINFO) mew.info $(INFODIR)/dir; \
-   else \
-       echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
+   ${BSD_INSTALL_DATA} $(INFO) $(INFODIR)
+   -@if [ -z "${XEMACS_VER_OVER20}" ]; then \
+       if [ -x "$(INSTALLINFO)" ]; then \
+           $(INSTALLINFO) mew.info $(INFODIR)/dir; \
+       else \
+           echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
+       fi; \
    fi
 
 install-jinfo:
    -@if [ ! -d $(INFODIR) ]; then \
        $(MKDIR) $(INFODIR); \
    fi; \
-   cp $(JINFO) $(INFODIR)
-   -@if [ -x "$(INSTALLINFO)" ]; then \
-       $(INSTALLINFO) mew.jis.info $(INFODIR)/dir; \
-   else \
-       echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
+   ${BSD_INSTALL_DATA} $(JINFO) $(INFODIR)
+   -@if [ -z "${XEMACS_VER_OVER20}" ]; then \
+       if [ -x "$(INSTALLINFO)" ]; then \
+           $(INSTALLINFO) mew.jis.info $(INFODIR)/dir; \
+       else \
+           echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
+       fi; \
    fi
+
+install-man:
+   ${MKDIR} ${MANDIR}
+   ${BSD_INSTALL_DATA} ${MANUALS} ${MANDIR}
+
 ##
 ## End of Makefile
 ##