[gimp/soc-2010-cage] pygimp: remove bogus $(srcdir) from a Makefile rule



commit c135c21f87460ded381ff5b70cf57e74f035b5a5
Author: Michael Natterer <mitch gimp org>
Date:   Sun Jun 27 00:38:29 2010 +0200

    pygimp: remove bogus $(srcdir) from a Makefile rule
    
    The rules does (cd $srcdir && ...) anyway, so using $srcdir in that
    subshell results in the wrong relative path. Patch by Omari Stephens
    and Mikael Magnusson.

 plug-ins/pygimp/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/pygimp/Makefile.am b/plug-ins/pygimp/Makefile.am
index 59194bc..97f53fe 100644
--- a/plug-ins/pygimp/Makefile.am
+++ b/plug-ins/pygimp/Makefile.am
@@ -170,8 +170,8 @@ CLEANFILES = gimpui.c gimpthumb.c
 	    --override $*.override \
 	    --register $(PYGTK_DEFSDIR)/gdk-types.defs \
 	    --register $(PYGTK_DEFSDIR)/gtk-types.defs \
-	    --register $(srcdir)/gimpcolor-types.defs \
-	    --register $(srcdir)/gimpenums-types.defs \
+	    --register gimpcolor-types.defs \
+	    --register gimpenums-types.defs \
 	    --prefix $* $*.defs) > gen-$*.c \
 	 && cp gen-$*.c $*.c \
 	 && rm -f gen-$*.c



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