Annotation of OpenXM_contrib/gnuplot/docs/latextut/Makefile.in, Revision 1.1.1.2
1.1 maekawa 1: # Makefile for gnuplot LaTeX tutorial
2: # To make the manual from scratch, we run latex two times
3:
4: # default target
5: all: tutorial.dvi
6:
7: # this tells GNU make not to export variables into the environment
8: # But other makes dont understand its significance, so it must
9: # not be the first target in the file. So it is here, before
10: # any variables are created, but after the default target
11: .NOEXPORT:
12:
13: SHELL = /bin/sh
14: DVIPS = dvips
15:
16: srcdir = @srcdir@
17: VPATH = @srcdir@
18:
19: prefix = /usr/local
20: exec_prefix = $(prefix)
21: bindir = $(exec_prefix)/bin
22: datadir = $(prefix)/lib
23: mandir = $(prefix)/man
24: top_builddir = .
25: top_srcdir = @top_srcdir@
26:
1.1.1.2 ! ohara 27: # which gnuplot-binary to use
! 28: # use the just compiled version instead of a pre-installed version
! 29: GNUPLOT = $(top_srcdir)/gnuplot
1.1 maekawa 30:
31: # To touch it up after changes:
32: remake: tutorial.dvi
33:
34: tutorial.ps: tutorial.dvi
35:
36: tutorial.dvi: eg1.tex eg2.tex eg3.tex eg4.tex eg5.tex eg6.tex linepoin.tex \
37: tutorial.tex header.tex
38: TEXINPUTS=.:$(srcdir): latex tutorial
39: TEXINPUTS=.:$(srcdir): latex tutorial
40:
41: .SUFFIXES: .dvi .tex .plt .ps
42:
43: .dvi.ps:
44: $(DVIPS) -o $@ $<
45:
46: .plt.tex:
47: @test "$(srcdir)" = "$(top_builddir)" || cp $(srcdir)/*.dat .
1.1.1.2 ! ohara 48: @if test -x $(top_srcdir)/src/gnuplot ; then \
! 49: $(top_srcdir)/src/gnuplot $< ; \
! 50: else \
! 51: gnuplot $< ; \
! 52: fi
1.1 maekawa 53:
54: clean:
55: rm -f *.aux *.dvi *.log *.ps eg?.tex linepoin.tex
56: @test "$(srcdir)" = "$(top_builddir)" || rm -f eg?.dat
57:
58: mostlyclean: clean
59:
60: distclean: clean
61: rm -f Makefile
62:
63: realclean: distclean
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>