--- 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 $@ +