[Mew-dist 13192] Mew 1.95b38 on Debian
Christophe TROESTLER
mewlist at example.com
2000年 6月 4日 (日) 21:58:45 JST
Hi everybody!
I recently installed Mew on a Debian 2.2 box and I noticed that Debian
has a special version of `install-info' -- so `make install-info'
failed. Thus I propose in attachment a slightly modified version of
info/Makefile with the hope it will be useful.
Regards,
ChriS
-------------- next part --------------
###
### Makefile for info
###
### Author: Kazu Yamamoto <Kazu at example.com>
### Created: Aug 22, 1999
### Revised:
###
### (1) make install EMACS=xemacs
### (2) make install-info PREFIX=/usr/local
###
################################################################
##
## EDIT THE FOLLOWINGS
##
#EMACS=xemacs
#PREFIX=/usr/local
#INFODIR
INSTALLINFO = `which install-info`
#INSTALLINFO = /usr/local/bin/install-info
# On Debian systems, the Info `dir' file is in
INSTALLINFODIR = /usr/info
RM = rm -f
MKDIR = mkdir -p
TOUCH = touch
################################################################
##
## DO NOT EDIT THE FOLLOWINGS
##
INFO = mew.info mew.info-1 mew.info-2 mew.info-3
JINFO = mew.jis.info mew.jis.info-1 mew.jis.info-2
info::
sed -e 's/@setfilename mew.jis.info/@setfilename mew.info/' \
-e 's/@set jp/@set us/' mew.texi > tmp.texi
mv tmp.texi mew.texi
$(RM) mew.info*
$(TOUCH) mew.info
$(EMACS) -batch -q -no-site-file -l texinfmt \
-f batch-texinfo-format mew.texi
jinfo::
sed -e 's/@setfilename mew.info/@setfilename mew.jis.info/' \
-e 's/@set us/@set jp/' mew.texi > tmp.texi
mv tmp.texi mew.texi
$(RM) mew.jis.info*
$(TOUCH) mew.jis.info
$(EMACS) -batch -q -no-site-file -l texinfmt \
-f batch-texinfo-format mew.texi
install-info:
- at example.com [ ! -d $(INFODIR) ]; then \
$(MKDIR) $(INFODIR); \
fi; \
cp $(INFO) $(INFODIR)
- at example.com [ -x "$(INSTALLINFO)" ]; then \
if [ -n "`$(INSTALLINFO) --version 2>&1 |grep Debian`" ]; then \
$(INSTALLINFO) --infodir=$(INSTALLINFODIR) \
--section Emacs Emacs mew.info ; \
else \
$(INSTALLINFO) mew.info $(INFODIR)/dir ; \
fi \
else \
echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
fi
install-jinfo:
- at example.com [ ! -d $(INFODIR) ]; then \
$(MKDIR) $(INFODIR); \
fi; \
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
##
## End of Makefile
##
Mew-dist メーリングリストの案内