From bd9d85e60bbebc9230400b09f5aa4f0f7e764262 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 4 Jun 2018 22:35:18 +0200 Subject: [PATCH] tools: rename test-keyboard.c and install it as gimp-test-clipboard Clibpard bugs are so common, it will be useful to have on users' machines. --- tools/.gitignore | 4 ++-- tools/Makefile.am | 23 ++++++++----------- ...test-clipboard.c => gimp-test-clipboard.c} | 4 ++-- 3 files changed, 14 insertions(+), 17 deletions(-) rename tools/{test-clipboard.c => gimp-test-clipboard.c} (98%) diff --git a/tools/.gitignore b/tools/.gitignore index 3c38bf0395..150c61ceb3 100644 --- a/tools/.gitignore +++ b/tools/.gitignore @@ -5,8 +5,8 @@ /kernelgen /gimptool-2.99 /gimptool-2.00.exe -/test-clipboard -/test-clipboard.exe +/gimp-test-clipboard-2.99 +/gimp-test-clipboard-2.99.exe /invert-svg /invert-svg.exe /compute-svg-viewbox diff --git a/tools/Makefile.am b/tools/Makefile.am index 117560bb80..7f18f29a5b 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -10,22 +10,18 @@ xobjective_cxx = "-xobjective-c++" xnone = "-xnone" endif -if OS_WIN32 - bin_PROGRAMS = \ gimptool-@GIMP_TOOL_VERSION@ \ - gimp-debug-resume + gimp-test-clipboard-@GIMP_TOOL_VERSION@ + +if OS_WIN32 + +bin_PROGRAMS += gimp-debug-resume gimp_debug_resume_SOURCES = gimp-debug-resume.c -else - -bin_PROGRAMS = gimptool-@GIMP_TOOL_VERSION@ - endif -noinst_PROGRAMS = test-clipboard - EXTRA_PROGRAMS = \ kernelgen @@ -37,13 +33,14 @@ gimptool_@GIMP_TOOL_VERSION@_LDADD = \ $(GTK_LIBS) +gimp_test_clipboard_@GIMP_TOOL_VERSION@_SOURCES = gimp-test-clipboard.c + +gimp_test_clipboard_@GIMP_TOOL_VERSION@_LDADD = $(GTK_LIBS) + + kernelgen_SOURCES = kernelgen.c -test_clipboard_SOURCES = test-clipboard.c - -test_clipboard_LDADD = $(GTK_LIBS) - if ENABLE_VECTOR_ICONS invert-svg$(BUILD_EXEEXT): invert-svg.c diff --git a/tools/test-clipboard.c b/tools/gimp-test-clipboard.c similarity index 98% rename from tools/test-clipboard.c rename to tools/gimp-test-clipboard.c index d118dd1fd6..d4bd665399 100644 --- a/tools/test-clipboard.c +++ b/tools/gimp-test-clipboard.c @@ -1,5 +1,5 @@ /* - * test-clipboard.c -- do clipboard things + * gimp-test-clipboard.c -- do clipboard things * * Copyright (C) 2005 Michael Natterer * @@ -201,7 +201,7 @@ main (gint argc, static void test_clipboard_show_version (void) { - g_print ("test-clipboard (GIMP clipboard testbed) version %s\n", + g_print ("gimp-test-clipboard (GIMP clipboard testbed) version %s\n", GIMP_VERSION); exit (EXIT_SUCCESS);