[gimp] Adapt mkgen.pl to create the .gitignore file with Win32 executables



commit 2e11cf878a44dae090245137ff994d5fb95af386
Author: Sven Neumann <sven gimp org>
Date:   Fri Jun 19 09:31:10 2009 +0200

    Adapt mkgen.pl to create the .gitignore file with Win32 executables
    
    The .gitignore file in plug-ins/common is created by mkgen.pl, just
    like Makefile.am in this directory. Changed the script to also
    include names of the Microsoft Windows executables in the created
    .gitignore file.

 plug-ins/common/.gitignore |    6 +++---
 plug-ins/common/mkgen.pl   |    5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/common/.gitignore b/plug-ins/common/.gitignore
index db8c496..bb34d24 100644
--- a/plug-ins/common/.gitignore
+++ b/plug-ins/common/.gitignore
@@ -55,9 +55,9 @@
 /contrast-retinex
 /contrast-retinex.exe
 /contrast-stretch
+/contrast-stretch.exe
 /contrast-stretch-hsv
 /contrast-stretch-hsv.exe
-/contrast-stretch.exe
 /convolution-matrix
 /convolution-matrix.exe
 /crop-auto
@@ -83,6 +83,7 @@
 /displace
 /displace.exe
 /edge
+/edge.exe
 /edge-dog
 /edge-dog.exe
 /edge-laplace
@@ -91,7 +92,6 @@
 /edge-neon.exe
 /edge-sobel
 /edge-sobel.exe
-/edge.exe
 /emboss
 /emboss.exe
 /engrave
@@ -263,6 +263,7 @@
 /threshold-alpha
 /threshold-alpha.exe
 /tile
+/tile.exe
 /tile-glass
 /tile-glass.exe
 /tile-paper
@@ -271,7 +272,6 @@
 /tile-seamless.exe
 /tile-small
 /tile-small.exe
-/tile.exe
 /unit-editor
 /unit-editor.exe
 /unsharp-mask
diff --git a/plug-ins/common/mkgen.pl b/plug-ins/common/mkgen.pl
index ef283d6..fc1e834 100755
--- a/plug-ins/common/mkgen.pl
+++ b/plug-ins/common/mkgen.pl
@@ -100,10 +100,10 @@ install-\%: \%
 EOT
 
 print IGNORE <<EOT;
-/Makefile
-/Makefile.in
 /.deps
 /.libs
+/Makefile
+/Makefile.in
 EOT
 
 foreach (sort keys %plugins) {
@@ -172,6 +172,7 @@ ${makename}_LDADD = \\
 EOT
 
     print IGNORE "/$_\n";
+    print IGNORE "/$_.exe\n";
 }
 
 close MK;



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