1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
# -*- mode: makefile -*-
## Set this variable to "xemacs" if you use XEmacs
EMACS ?= emacs
## You will probably not need to change anything below this line
BYTE = $(EMACS) -batch -q -no-site-file -l dot.el -f batch-byte-compile
.PHONY: all default clean pdf ps
default: gnuplot.elc gnuplot-gui.elc gnuplot-context.elc
pdf: gpelcard.pdf
ps: gpelcard.ps
all: gnuplot.elc gnuplot-gui.elc gnuplot-context.elc gpelcard.pdf gpelcard.ps
%.elc: %.el
$(BYTE) "$<"
test: gnuplot.elc gnuplot-context.elc gnuplot-tests.elc gnuplot-test-context.elc
$(EMACS) --batch -L . \
--load=gnuplot-tests \
--load=gnuplot-test-context \
--eval='(ert-run-tests-batch "^gnuplot-")'
gpelcard.ps: gpelcard.dvi
dvips -o gpelcard.ps gpelcard.dvi
gpelcard.pdf: gpelcard.tex
pdflatex gpelcard.tex
gpelcard.dvi: gpelcard.tex
latex gpelcard.tex
clean:
rm -f *.elc gpelcard.dvi gpelcard.log gpelcard.aux
|