Commit f338409d authored by Jon Nordby's avatar Jon Nordby

tools: Rename img_cmp to gegl-imgcmp and install

This exectuable is useful to others using GEGL,
for instance in test suites.
parent d9bf8920
......@@ -43,7 +43,7 @@ class Context():
exe_suffix = ""
self.gegl_bin = os.path.join(self.build_dir, "bin", "gegl" + exe_suffix)
self.img_cmp_bin = os.path.join(self.build_dir, "tools", "img_cmp" + exe_suffix)
self.img_cmp_bin = os.path.join(self.build_dir, "tools", "gegl-imgcmp" + exe_suffix)
self.detect_opencl_bin = os.path.join(self.build_dir, "tools", "detect_opencl" + exe_suffix)
for prog in [self.gegl_bin, self.img_cmp_bin, self.detect_opencl_bin]:
......
......@@ -5,7 +5,7 @@ builddir_gegl_env = GEGL_SWAP=RAM GEGL_PATH=$(top_builddir)/operations
# Binary paths
gegl_bin = $(top_builddir)/bin/gegl$(EXEEXT)
img_cmp_bin = $(top_builddir)/tools/img_cmp$(EXEEXT)
img_cmp_bin = $(top_builddir)/tools/gegl-imgcmp$(EXEEXT)
# Commands run in a builddir env
builddir_gegl = $(builddir_gegl_env) $(gegl_bin)
......
......@@ -13,7 +13,7 @@ else
$abs_top_srcdir/tests/compositions/data/parliament_0.jpg \
$abs_top_srcdir/tests/compositions/data/parliament_1.jpg \
$abs_top_srcdir/tests/compositions/data/parliament_2.jpg \
&& $abs_top_builddir/tools/img_cmp \
&& $abs_top_builddir/tools/gegl-imgcmp \
$abs_top_srcdir/tests/compositions/data/parliament.hdr \
$abs_top_builddir/tests/simple/test-exp-combine.hdr
failure=$?
......
......@@ -5,7 +5,7 @@
/Makefile
/Makefile.in
/exp_combine
/img_cmp
/gegl-imgcmp
/introspect
/operation_reference
/detect_opencl
\ No newline at end of file
/detect_opencl
......@@ -29,7 +29,8 @@ AM_LDFLAGS = \
$(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
$(DEP_LIBS) $(BABL_LIBS)
noinst_PROGRAMS = introspect operation_reference img_cmp detect_opencl
bin_PROGRAMS = gegl-imgcmp
noinst_PROGRAMS = introspect operation_reference detect_opencl
if HAVE_EXIV2
noinst_PROGRAMS += exp_combine
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment