1## Process this file with automake to produce Makefile.in -*-Makefile-*-
2AUTOMAKE_OPTIONS = foreign
3
4EXTRA_DIST = README ${tex_DATA}
5
6
7if BUILD_LUA
8     build_lua = BUILD_LUA
9     lua_files = gnuplot-lua-tikz.sty gnuplot-lua-tikz-common.tex gnuplot-lua-tikz.tex t-gnuplot-lua-tikz.tex
10else
11     build_lua =
12     lua_files =
13endif
14
15tex_DATA = gnuplot.cfg ${lua_files}
16texdir = @TEXDIR@
17
18${lua_files}: $(top_srcdir)/term/lua/gnuplot-tikz.lua
19	test -z "$(build_lua)" || lua $(top_srcdir)/term/lua/gnuplot-tikz.lua style
20
21install-data-hook:
22	test -n "$(DESTDIR)" || $(TEXHASH)
23
24uninstall-hook:
25	test -n "$(DESTDIR)" || $(TEXHASH)
26
27