aboutsummaryrefslogtreecommitdiffstats
path: root/math/pari-devel/files/patch-af
blob: c4334430177f31b0f7244493a53dfe61b5c22ae3 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
--- config/Makefile.SH.orig Mon Dec 20 00:47:02 2004
+++ config/Makefile.SH  Sun Jan  9 18:26:30 2005
@@ -238,9 +238,12 @@
 INCLUDEDIR= \$(DESTDIR)$includedir
 LIBDIR    = \$(DESTDIR)$libdir
 BINDIR    = \$(DESTDIR)$bindir
-MANDIR    = \$(DESTDIR)$mandir
+MANDIR    = \$(DESTDIR)\${PREFIX}/man/man1
 EMACSDIR  = \$(DESTDIR)$emacsdir
-DATADIR   = \$(DESTDIR)$datadir
+#DATADIR   = \$(DESTDIR)$datadir
+ALLDIR    =\${PREFIX}/share/doc/pari
+READMEDIR = \$(ALLDIR)
+DATADIR   = \$(ALLDIR)
 SYSDATADIR= \$(DESTDIR)$sysdatadir
 
 EXDIR     = \$(DATADIR)/examples
@@ -392,7 +395,7 @@
    -\$(RM) \$(MANDIR)/pari.1
    -\$(LN) gp.1 \$(MANDIR)/pari.1
 
-install-misc: $install_emacs_files
+install-misc: $install_emacs_files install-top
    -mkdir -p \$(MISCDIR) \$(BINDIR)
    \$(INSTALL_PROGRAM) $misc/tex2mail \$(BINDIR)
    \$(INSTALL_DATA) $doc/tex2mail.1 \$(MANDIR)
@@ -405,6 +408,19 @@
    \$(INSTALL_DATA) $misc/pari.xpm  \$(MISCDIR)
    \$(INSTALL_PROGRAM) $misc/xgp    \$(MISCDIR)
 
+install-top::
+   -mkdir -p \$(READMEDIR)
+   \$(INSTALL_DATA) $TOP/AUTHORS      \$(READMEDIR)
+   \$(INSTALL_DATA) $TOP/Announce.2.1 \$(READMEDIR)
+   \$(INSTALL_DATA) $TOP/CHANGES      \$(READMEDIR)
+   \$(INSTALL_DATA) $TOP/COMPAT       \$(READMEDIR)
+   \$(INSTALL_DATA) $TOP/COPYING      \$(READMEDIR)
+   \$(INSTALL_DATA) $TOP/CVS.txt      \$(READMEDIR)
+   \$(INSTALL_DATA) $TOP/MACHINES     \$(READMEDIR)
+   \$(INSTALL_DATA) $TOP/NEW          \$(READMEDIR)
+   \$(INSTALL_DATA) $TOP/README       \$(READMEDIR)
+   \$(INSTALL_DATA) $TOP/TODO         \$(READMEDIR)
+
 install-cfg::
    -mkdir -p \$(SYSDATADIR) \$(DATADIR)/PARI
    \$(INSTALL_DATA) $desc/pari.desc   \$(DATADIR)
@@ -413,7 +429,7 @@
 
 install-doc::
    -mkdir -p \$(BINDIR) \$(DOCDIR)
-   -cd $doc; \$(MAKE) all
+#  -cd $doc; \$(MAKE) all
    -\$(INSTALL_PROGRAM) $doc/gphelp    \$(BINDIR)
    -\$(INSTALL_DATA) $doc/Makefile     \$(DOCDIR)
    -\$(INSTALL_DATA) $doc/translations \$(DOCDIR)
@@ -431,11 +447,11 @@
    -\$(INSTALL_DATA) $doc/usersch4.tex \$(DOCDIR)
    -\$(INSTALL_DATA) $doc/usersch5.tex \$(DOCDIR)
    -\$(INSTALL_DATA) $doc/paricfg.tex  \$(DOCDIR)
-   -\$(INSTALL_DATA) $doc/libpari.dvi    \$(DOCDIR)
-   -\$(INSTALL_DATA) $doc/users.dvi    \$(DOCDIR)
-   -\$(INSTALL_DATA) $doc/tutorial.dvi \$(DOCDIR)
-   -\$(INSTALL_DATA) $doc/refcard.dvi  \$(DOCDIR)
-   -\$(INSTALL_DATA) $doc/refcard.ps   \$(DOCDIR)
+#  -\$(INSTALL_DATA) $doc/libpari.dvi    \$(DOCDIR)
+#  -\$(INSTALL_DATA) $doc/users.dvi    \$(DOCDIR)
+#  -\$(INSTALL_DATA) $doc/tutorial.dvi \$(DOCDIR)
+#  -\$(INSTALL_DATA) $doc/refcard.dvi  \$(DOCDIR)
+#  -\$(INSTALL_DATA) $doc/refcard.ps   \$(DOCDIR)
 
 install-examples:
    -mkdir -p \$(EXDIR)
@@ -532,15 +548,16 @@
 
 if test -n "$emacs"; then
   cat >> $file << EOT
-elc:
-   @echo "Byte-Compiling elisp files..."
-   -cd $emx; $emacs -batch \
-      --eval '(setq load-path (append (list ".") load-path))' \
-      -f batch-byte-compile *.el
+#elc:
+#  @echo "Byte-Compiling elisp files..."
+#  -cd $emx; $emacs -batch \
+#     --eval '(setq load-path (append (list ".") load-path))' \
+#     -f batch-byte-compile *.el
 
-$install_emacs_files: elc
+$install_emacs_files: #elc
    -mkdir -p \$(EMACSDIR)
-   -cd $emx; for f in *.elc *.el pariemacs.txt; do \
+#  -cd $emx; for f in *.elc *.el pariemacs.txt; do \
+   -cd $emx; for f in *.el pariemacs.txt; do \
      \$(INSTALL_DATA) \$\$f \$(EMACSDIR); \
    done
 EOT