[Mew-dist 10455] Re: 1.94b54

Ninomiya Hideyuki nin at example.com
1999年 8月 26日 (木) 08:54:58 JST


おはようございます	二宮 @ お四国 です。


ちょいと Makefile 書き換えてみました。

こんな感じではいかがでしょうか?
---
                                         二宮 秀幸@愛媛 鬼北 広見町
PGP-Fingerprint: 6C59 EC08 5B23 6490 44D0  7CD3 DA40 219F 7114 8553
                                           mailto:nin at example.com
                           http://user.shikoku.ne.jp/nin/index.html
-------------- next part --------------
*** Makefile.org	Wed Aug 25 21:27:35 1999
--- Makefile	Thu Aug 26 05:05:33 1999
***************
*** 18,24 ****
  ##
  
  PREFIX = /usr/local
- INFODIR = $(PREFIX)/info
  
  ##
  ## Compile engines
--- 18,23 ----
***************
*** 48,53 ****
--- 47,56 ----
  #ELISPDIR = $(PREFIX)/share/emacs/site-lisp
  #ELISPDIR = $(PREFIX)/lib/emacs
  
+ INFODIR = $(PREFIX)/info
+ 
+ ETCDIR = $(PREFIX)/lib/$(EMACS)/etc/Mew
+ 
  ################################################################
  ##
  ## DO NOT EDIT THE FOLLOWINGS
***************
*** 85,91 ****
  RM = rm -f
  BIN = bin
  
! all: $(OBJS)
  	@echo 'Compiling EL files of Mew ... '
  	@echo 'PLEASE IGNORE WARNINGS IF DISPLAYED. TAKE IT EASY!'
  	$(EMACS) -batch -q -no-site-file -l ./$(TEMPFILE) -f mew-compile
--- 88,99 ----
  RM = rm -f
  BIN = bin
  
! all: build
! .if $(EMACS)==xemacs
! 	make info jinfo
! .endif
! 
! build: $(OBJS)
  	@echo 'Compiling EL files of Mew ... '
  	@echo 'PLEASE IGNORE WARNINGS IF DISPLAYED. TAKE IT EASY!'
  	$(EMACS) -batch -q -no-site-file -l ./$(TEMPFILE) -f mew-compile
***************
*** 100,105 ****
--- 108,115 ----
  	@echo $(OBJS) | sed -e 's/\(mew[^ ]*\.el\)c/"\1"/g'  >> $(TEMPFILE)
  	@echo ')))' >> $(TEMPFILE)
  
+ install-all: install install-info install-jinfo install-etc
+ 
  install: $(OBJS)
  	cp $(SRCS) $(ELISPDIR)
  	cp $(OBJS) $(ELISPDIR)
***************
*** 120,125 ****
--- 130,141 ----
  
  install-jinfo:
  	cd info; make install-jinfo INFODIR=$(INFODIR)
+ 
+ install-etc:
+ 	- at example.com [ ! -d $(ETCDIR) ]; then \
+ 		mkdir -p $(ETCDIR); \
+ 	fi; \
+ 	cd etc; cp -R * $(ETCDIR)/
  
  ##
  ## End of Makefile
*** info/Makefile.org	Thu Aug 26 04:50:04 1999
--- info/Makefile	Thu Aug 26 05:01:06 1999
***************
*** 15,23 ****
  ## EDIT THE FOLLOWINGS
  ##
  
! #EMACS = xemacs
! #PREFIX = /usr/local
! #INFODIR
  
  INSTALLINFO = `which install-info`
  #INSTALLINFO = /usr/local/bin/install-info
--- 15,23 ----
  ## EDIT THE FOLLOWINGS
  ##
  
! EMACS ?= xemacs
! PREFIX ?= /usr/local
! INFODIR ?= $(PREFIX)/info
  
  INSTALLINFO = `which install-info`
  #INSTALLINFO = /usr/local/bin/install-info


Mew-dist メーリングリストの案内