summaryrefslogtreecommitdiff
path: root/print/latex-cjk/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/latex-cjk/files/patch-Makefile')
-rw-r--r--print/latex-cjk/files/patch-Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/print/latex-cjk/files/patch-Makefile b/print/latex-cjk/files/patch-Makefile
new file mode 100644
index 000000000000..ea2b099782b7
--- /dev/null
+++ b/print/latex-cjk/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile.orig Thu Jan 1 08:00:00 1970
++++ Makefile Sat Feb 20 08:10:54 1999
+@@ -0,0 +1,24 @@
++#
++# Makefile for CJK to apply on Unix systems more smoothly.
++#
++
++CP = /bin/cp
++CHOWN = /usr/sbin/chown
++
++LATEX_DIR = $(PREFIX)/share/texmf/tex/latex
++CJK_DIR = $(LATEX_DIR)/CJK
++
++all:
++ $(MAKE) -C utils $@
++
++install: install-texinput
++ $(MAKE) -C utils $@
++
++install-texinput:
++ (rm -fr $(CJK_DIR)) && \
++ (mkdir -p $(CJK_DIR)) && \
++ ($(CP) -R texinput/* $(CJK_DIR)) && \
++ ($(CHOWN) -R $(SHAREOWN):$(SHAREGRP) $(CJK_DIR))
++
++clean:
++ $(MAKE) -C utils $@