File: Makefile.dst

package info (click to toggle)
gnuplot-mode 1:0.7.0-2014-12-31-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,392 kB
  • sloc: lisp: 6,002; sh: 494; makefile: 38
file content (39 lines) | stat: -rw-r--r-- 907 bytes parent folder | download
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