1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
emacs/etc/Makefile
2006-06-28 13:28:51 +00:00

58 lines
1.4 KiB
Makefile

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