view etc/Makefile @ 75585:c2f2782910c3

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Thu, 01 Feb 2007 01:46:58 +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