yatex

changeset 389:3a235b173835 dev

gmake be silence
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 07 Jan 2015 09:21:53 +0900
parents ad62fb00a393
children fa7370eb8292
files makefile
diffstat 1 files changed, 15 insertions(+), 15 deletions(-) [+]
line diff
     1.1 --- a/makefile	Wed Jan 07 09:09:15 2015 +0900
     1.2 +++ b/makefile	Wed Jan 07 09:21:53 2015 +0900
     1.3 @@ -80,9 +80,9 @@
     1.4  
     1.5  all:
     1.6  	@echo "Edit this makefile first."
     1.7 -	@echo 'Type "make install" to install YaTeX.'
     1.8 -	@echo 'Type "make install-yahtml" to install yahtml.'
     1.9 -	@echo 'If you cling to elc files. type "make elc" before make install'
    1.10 +	@echo 'Type "${MAKE} install" to install YaTeX.'
    1.11 +	@echo 'Type "${MAKE} install-yahtml" to install yahtml.'
    1.12 +	@echo 'If you love elc files, type "${MAKE} elc" before ${MAKE} install'
    1.13  #	@echo "If you don't use X-clinet of Emacs,"
    1.14  #	@echo 'type "make install-nw" instead.'
    1.15  
    1.16 @@ -111,7 +111,7 @@
    1.17  
    1.18  install-message:
    1.19  	@echo "--------------------------------"
    1.20 -	@echo "If you have install-info command, type 'make install-info'."
    1.21 +	@echo "If you have install-info command, type '${MAKE} install-info'."
    1.22  	@echo "If not, add next lines into your site's info dir manually."
    1.23  	@cat dir
    1.24  	@echo "--------------------------------"
    1.25 @@ -120,12 +120,12 @@
    1.26  	@echo "  完了. ~/.emacs 等に以下を追加する必要があるかもしれません."
    1.27  	@echo
    1.28  	@echo ";;; ------ Startup definitions for YaTeX ------ ;;;"
    1.29 -	@make show-init
    1.30 +	@${MAKE} show-init
    1.31  	@echo ";;; ------------------------------------------- ;;;"
    1.32  	@echo
    1.33 -	@echo " To get elisp above again, call make command as below."
    1.34 -	@echo " 上記elispを再度得るには以下のようにmakeを起動してください."
    1.35 -	@echo " % make $${PREFIX:+PREFIX=$$PREFIX }show-init"
    1.36 +	@echo " To get elisp above again, call ${MAKE} command as below."
    1.37 +	@echo " 上記elispを再度得るには以下のように${MAKE}を起動してください."
    1.38 +	@echo " % ${MAKE} $${PREFIX:+PREFIX=$$PREFIX }show-init"
    1.39  
    1.40  install-info:
    1.41  	for f in ${DOCOBJ}; do \
    1.42 @@ -141,19 +141,19 @@
    1.43  	  "(autoload 'yatex-mode \"yatex\" \"Yet Another LaTeX mode\" t)" \
    1.44  	  "(add-to-list 'load-path \"${LISPDIR}\")" \
    1.45  	  "(setq YaTeX-help-file \"${LISPDIR}/help/YATEXHLP.eng\")"
    1.46 -	@printf '(setq tex-command "%s")%s\n' \
    1.47 +	@printf '(setq tex-command "%s")\n' \
    1.48  	 `CMDS='platex pdflatex ptex2pdf lualatex' DFLT=latex \
    1.49 -	  make search-cmd`
    1.50 -	@printf '(setq dvi2-command "%s")%s\n' \
    1.51 +	  ${MAKE} -s search-cmd`
    1.52 +	@printf '(setq dvi2-command "%s")\n' \
    1.53  	 `CMDS='pxdvi xdvik kxdvi dviout texworks' DFLT=xdvi \
    1.54 -	  make search-cmd`
    1.55 -	@printf '(setq tex-pdfview-command "%s")%s\n' \
    1.56 +	  ${MAKE} -s search-cmd`
    1.57 +	@printf '(setq tex-pdfview-command "%s")\n' \
    1.58  	 `CMDS='evince mupdf xpdf kpdf texworks sumatrapdf' \
    1.59  	  DFLT=acroread \
    1.60 -	  make search-cmd`
    1.61 +	  ${MAKE} -s search-cmd`
    1.62  
    1.63  show-init2:
    1.64 -	@make LISPDIR=$$PWD show-init
    1.65 +	@${MAKE} LISPDIR=$$PWD show-init
    1.66  
    1.67  search-cmd:
    1.68  	@for f in $$CMDS; do \