[gimp] tools: rename test-keyboard.c and install it as gimp-test-clipboard



commit bd9d85e60bbebc9230400b09f5aa4f0f7e764262
Author: Michael Natterer <mitch gimp org>
Date:   Mon Jun 4 22:35:18 2018 +0200

    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                                 | 19 ++++++++-----------
 tools/{test-clipboard.c => gimp-test-clipboard.c} |  4 ++--
 3 files changed, 12 insertions(+), 15 deletions(-)
---
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@
 
-gimp_debug_resume_SOURCES = gimp-debug-resume.c
+if OS_WIN32
 
-else
+bin_PROGRAMS += gimp-debug-resume
 
-bin_PROGRAMS = gimptool-@GIMP_TOOL_VERSION@
+gimp_debug_resume_SOURCES = gimp-debug-resume.c
 
 endif
 
-noinst_PROGRAMS = test-clipboard
-
 EXTRA_PROGRAMS = \
        kernelgen
 
@@ -37,12 +33,13 @@ gimptool_@GIMP_TOOL_VERSION@_LDADD = \
        $(GTK_LIBS)
 
 
-kernelgen_SOURCES = kernelgen.c
+gimp_test_clipboard_@GIMP_TOOL_VERSION@_SOURCES = gimp-test-clipboard.c
 
+gimp_test_clipboard_@GIMP_TOOL_VERSION@_LDADD = $(GTK_LIBS)
 
-test_clipboard_SOURCES = test-clipboard.c
 
-test_clipboard_LDADD = $(GTK_LIBS)
+kernelgen_SOURCES = kernelgen.c
+
 
 
 if ENABLE_VECTOR_ICONS
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 <mitch gimp org>
  *
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]