[Mew-dist 10444] Re: b53
Kazu Yamamoto ( 山本和彦 )
kazu at example.com
1999年 8月 25日 (水) 18:04:58 JST
From: Ninomiya Hideyuki <nin at example.com>
Subject: [Mew-dist 10408] Re: b53
> 自分は、info のインストール場所をちょっと変態にしています。
> $(INFODIR)の変更の為には、info/Makefile も変更しなくては
> ならないので、出来れば、Makefile の変更だけで $(INFODIR) の
> 設定変更できるようにお願いしたいのですが
こんなのでどうでしょう?
--かず
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /usr/home/kazu/cvsroot/Mew/mew/Makefile,v
retrieving revision 1.45
retrieving revision 1.47
diff -c -r1.45 -r1.47
*** Makefile 1999/08/24 13:29:27 1.45
--- Makefile 1999/08/25 08:56:29 1.47
***************
*** 18,23 ****
--- 18,24 ----
##
PREFIX = /usr/local
+ INFODIR = $(PREFIX)/info
##
## Compile engines
***************
*** 112,124 ****
cd info; make info EMACS=$(EMACS)
install-info:
! cd info; make install-info PREFIX=$(PREFIX)
jinfo::
! cd info; make info EMACS=$(EMACS)
install-jinfo:
! cd info; make install-jinfo PREFIX=$(PREFIX)
##
## End of Makefile
--- 113,125 ----
cd info; make info EMACS=$(EMACS)
install-info:
! cd info; make install-info INFODIR=$(INFODIR)
jinfo::
! cd info; make jinfo EMACS=$(EMACS)
install-jinfo:
! cd info; make install-jinfo INFODIR=$(INFODIR)
##
## End of Makefile
Index: info/Makefile
===================================================================
RCS file: /usr/home/kazu/cvsroot/Mew/mew/info/Makefile,v
retrieving revision 1.2
retrieving revision 1.4
diff -c -r1.2 -r1.4
*** Makefile 1999/08/23 12:00:19 1.2
--- Makefile 1999/08/25 08:56:29 1.4
***************
*** 17,24 ****
#EMACS=xemacs
#PREFIX=/usr/local
- INFODIR = $(PREFIX)/info
INSTALLINFO = `which install-info`
#INSTALLINFO = /usr/local/bin/install-info
--- 17,24 ----
#EMACS=xemacs
#PREFIX=/usr/local
+ #INFODIR
INSTALLINFO = `which install-info`
#INSTALLINFO = /usr/local/bin/install-info
***************
*** 54,60 ****
install-info:
cp $(INFO) $(INFODIR)
- at example.com [ -x "$(INSTALLINFO)" ]; then \
! $(INSTALLINFO) info/mew.info $(INFODIR)/dir; \
else \
echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
fi
--- 54,60 ----
install-info:
cp $(INFO) $(INFODIR)
- at example.com [ -x "$(INSTALLINFO)" ]; then \
! $(INSTALLINFO) mew.info $(INFODIR)/dir; \
else \
echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
fi
***************
*** 62,68 ****
install-jinfo:
cp $(JINFO) $(INFODIR)
- at example.com [ -x "$(INSTALLINFO)" ]; then \
! $(INSTALLINFO) info/mew.jis.info $(INFODIR)/dir; \
else \
echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
fi
--- 62,68 ----
install-jinfo:
cp $(JINFO) $(INFODIR)
- at example.com [ -x "$(INSTALLINFO)" ]; then \
! $(INSTALLINFO) mew.jis.info $(INFODIR)/dir; \
else \
echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
fi
Mew-dist メーリングリストの案内