forked from emacs-gnuplot/gnuplot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.dst
More file actions
39 lines (25 loc) · 907 Bytes
/
Makefile.dst
File metadata and controls
39 lines (25 loc) · 907 Bytes
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