summaryrefslogtreecommitdiff
path: root/japanese/jtex209-both/files/ascii-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/jtex209-both/files/ascii-makefile')
-rw-r--r--japanese/jtex209-both/files/ascii-makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/japanese/jtex209-both/files/ascii-makefile b/japanese/jtex209-both/files/ascii-makefile
new file mode 100644
index 000000000000..20f37da2c44f
--- /dev/null
+++ b/japanese/jtex209-both/files/ascii-makefile
@@ -0,0 +1,29 @@
+all:
+ @(cd jtex1.7/ptex/ptex ; make)
+ @(cd jtex1.7/jtex/BibTeX ; make all)
+
+install:
+ @cp jtex1.7/ptex/ptex/ctex/initex /usr/local/bin/iniatex
+ @cp jtex1.7/ptex/ptex/ctex/ptex.pool /usr/local/share/tex/apool
+ @cp jtex1.7/ptex/ptex/ctex/virtex /usr/local/bin/viratex
+ @install -c -m 644 jtex1.7/macros/* /usr/local/share/tex/inputs
+ @install -c -m 644 jtex1.7/jmacros/* /usr/local/share/tex/ainputs
+ @install -c -m 644 jtex1.7/tfm/* /usr/local/share/tex/fonts
+ @install -c -m 644 jtex1.7/jfms/* /usr/local/share/tex/jfonts/jfms
+ @(cd jtex1.7/ptex/ptex/ctex ; make jplain.fmt jlplain.fmt)
+ @install -c -m 644 jtex1.7/ptex/ptex/ctex/jplain.fmt /usr/local/share/tex/aformats/ajtex.fmt
+ @rm -f /usr/local/share/tex/aformats/jtex.fmt /usr/local/share/tex/aformats/jlatex/rmt
+ @ln -sf /usr/local/share/tex/aformats/ajtex.fmt /usr/local/share/tex/aformats/jtex.fmt
+ @install -c -m 644 jtex1.7/ptex/ptex/ctex/jlplain.fmt /usr/local/share/tex/aformats/ajlatex.fmt
+ @ln -sf /usr/local/share/tex/aformats/ajlatex.fmt /usr/local/share/tex/aformats/jlatex.fmt
+ @rm -f /usr/local/bin/ajtex /usr/local/bin/ajlatex
+ @rm -f /usr/local/bin/jtex /usr/local/bin/jlatex
+ @ln -sf /usr/local/bin/viratex /usr/local/bin/ajtex
+ @ln -sf /usr/local/bin/viratex /usr/local/bin/ajlatex
+ @ln -sf /usr/local/bin/viratex /usr/local/bin/jtex
+ @ln -sf /usr/local/bin/viratex /usr/local/bin/jlatex
+ @touch /usr/local/share/tex/ASCII
+ @(cd jtex1.7/jtex/BibTeX ; make install)
+
+reinstall:
+