[gimp] updated mkgen.pl script for use with git
- From: Sven Neumann <neo src gnome org>
- To: svn-commits-list gnome org
- Subject: [gimp] updated mkgen.pl script for use with git
- Date: Tue, 2 Jun 2009 15:11:33 -0400 (EDT)
commit aac9e75ec34ccbdb9a0c96dc821622728c4b71b7
Author: Sven Neumann <sven gimp org>
Date: Tue Jun 2 20:34:21 2009 +0200
updated mkgen.pl script for use with git
Change the mkgen.pl script to modify .gitignore instead of trying to
change the svn:ignore property.
---
plug-ins/common/mkgen.pl | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/plug-ins/common/mkgen.pl b/plug-ins/common/mkgen.pl
index b0cd786..ef283d6 100755
--- a/plug-ins/common/mkgen.pl
+++ b/plug-ins/common/mkgen.pl
@@ -7,7 +7,7 @@ require 'util.pl';
*write_file = \&Gimp::CodeGen::util::write_file;
*FILE_EXT = \$Gimp::CodeGen::util::FILE_EXT;
-$ignorefile = ".svnignore";
+$ignorefile = ".gitignore";
$outmk = "Makefile.am$FILE_EXT";
$outignore = "$ignorefile$FILE_EXT";
@@ -100,10 +100,10 @@ install-\%: \%
EOT
print IGNORE <<EOT;
-Makefile
-Makefile.in
-.deps
-.libs
+/Makefile
+/Makefile.in
+/.deps
+/.libs
EOT
foreach (sort keys %plugins) {
@@ -171,7 +171,7 @@ ${makename}_LDADD = \\
$deplib
EOT
- print IGNORE "$_\n";
+ print IGNORE "/$_\n";
}
close MK;
@@ -180,5 +180,3 @@ close IGNORE;
&write_file($outmk);
&write_file($outignore);
-system ("svn", "propset", "-F", $ignorefile, "svn:ignore", ".");
-unlink $ignorefile;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]