summaryrefslogtreecommitdiff
path: root/print/latex-cjk/files/patch-ab
blob: 2ce7e350a391141fc47bf11e90548e26457c5789 (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
--- 4_1.3/Makefile.orig	Fri Oct  2 17:33:22 1998
+++ 4_1.3/Makefile	Fri Oct  2 17:33:22 1998
@@ -0,0 +1,40 @@
+#
+# Makefile for CJK to apply on Unix systems more smoothly.
+#
+# keith@email.gcn.net.tw
+#
+
+CP = /bin/cp
+CHOWN = /usr/sbin/chown
+
+LATEX_DIR = $(PREFIX)/share/texmf/tex/latex
+CJK_DIR = $(LATEX_DIR)/CJK
+
+all:
+	$(MAKE) -C contrib $@
+	$(MAKE) -C utils $@
+
+install: install-texinput install-teTeX-patch
+	$(MAKE) -C contrib $@
+	$(MAKE) -C doc $@
+	$(MAKE) -C examples $@
+	$(MAKE) -C utils $@
+
+install-texinput:
+	(mkdir -p $(CJK_DIR)); && \
+	($(CP) -R texinput/* $(CJK_DIR)); && \
+	($(CHOWN) -R $(SHAREOWN).$(SHAREGRP) $(CJK_DIR));
+
+install-teTeX-patch:
+	$(MAKE) -C doc/teTeX patch
+
+test-teTeX-patch:
+	$(MAKE) -C doc/teTeX test-patch
+
+uninstall-teTeX-patch:
+	$(MAKE) -C doc/teTeX uninstall-patch
+
+clean:
+	$(MAKE) -C contrib $@
+	$(MAKE) -C utils $@
+