view etc/Makefile @ 72324:34fbd43e1a93

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Wed, 09 Aug 2006 01:25:59 +0000
parents 740f82dedf09
children ea81bef579d2 138ce2701550
line wrap: on
line source

DESTDIR=
LIBDIR=/usr/local/lib
BINDIR=/usr/local/bin
MANDIR=/usr/man/man1
MANEXT=1

all:

refcards:	refcard.ps cs-refcard.ps de-refcard.ps fr-refcard.ps \
		pl-refcard.ps pt-br-refcard.ps ru-refcard.ps sk-refcard.ps

refcard.dvi de-refcard.dvi fr-refcard.dvi pt-br-refcard.dvi sk-refcard.dvi:	%.dvi:	%.tex
	tex $<

cs-refcard.dvi:	%.dvi:	%.tex
	csplain $<

pl-refcard.dvi: %.dvi:	%.tex
	if ! kpsewhich -format=fmt mex > /dev/null; then \
	  echo "No mex format found."; false; \
	fi
	tex $<

ru-refcard.dvi:	%.dvi:	%.tex
	latex $<

refcard.ps de-refcard.ps fr-refcard.ps pt-br-refcard.ps:	%.ps:	%.dvi
	dvips -t landscape $<

cs-refcard.ps pl-refcard.ps ru-refcard.ps sk-refcard.ps:	%.ps:	%.dvi
	dvips $<

mostlyclean:
	-rm -f core *.dvi *.log

clean distclean maintainer-clean:
	-rm -f DOC* core *.dvi *.log

SOURCES = [0-9A-QS-Z]* README *.[ch16] emacs.* etags.* ledit.l ms-* \
	spook-lines tasks.texi termcap.* ulimit.hack *.tex

unlock:
	chmod u+w $(SOURCES)

relock:
	chmod u-w $(SOURCES)

# ${etcdir}/e/eterm-color is used by ../lisp/term.el.
# TERMINFO systems use terminfo files compiled by the Terminfo Compiler (tic).
# These files are binary, and depend on the version of tic, but they seem
# to be system-independent and backwardly compatible.
# So there should be no need to recompile the distributed binary version.
TIC=tic
e/eterm-color: e/eterm-color.ti
	TERMINFO=`pwd`; export TERMINFO; $(TIC) e/eterm-color.ti

# arch-tag: 4261f003-cf77-4478-a10a-5284e9d8f797