[gimp/gimp-2-10] plug-ins: in pygimp/plug-ins/Makefile.am, simplify plug-in copy recipe



commit d2bc3eeb5da57b2a3957083a78511510bcd53525
Author: Ell <ell_se yahoo com>
Date:   Fri Feb 1 07:30:18 2019 -0500

    plug-ins: in pygimp/plug-ins/Makefile.am, simplify plug-in copy recipe
    
    (cherry picked from commit 12dbd4aee2dea284583bc3b2dd30da62e7513056)

 plug-ins/pygimp/plug-ins/Makefile.am | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/plug-ins/pygimp/plug-ins/Makefile.am b/plug-ins/pygimp/plug-ins/Makefile.am
index 5caf2b63b6..751f524b0f 100644
--- a/plug-ins/pygimp/plug-ins/Makefile.am
+++ b/plug-ins/pygimp/plug-ins/Makefile.am
@@ -42,11 +42,7 @@ test_scripts = \
        whirlpinch/whirlpinch.py
 
 $(scripts) $(test_scripts): $(source_scripts)
-       @                                                       \
-       dir=`dirname "$@"`;                                     \
-       base=`basename "$@"`;                                   \
-       echo "  GEN      $@";                                   \
-       mkdir -p "$$dir" && cp -f "$(srcdir)/$$base" "$@";
+       $(AM_V_GEN) mkdir -p $(@D) && cp -f "$(srcdir)/$(@F)" $@
 
 nobase_pluginexec_SCRIPTS = $(scripts)
 


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