set the svn:ignore property instead of writing a .cvsignore file.

2007-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mkgen.pl: set the svn:ignore property instead 
of
	writing a .cvsignore file.


svn path=/trunk/; revision=23966
This commit is contained in:
Sven Neumann 2007-10-27 14:17:47 +00:00 committed by Sven Neumann
parent 5f7bf16e57
commit dc6c91fd65
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-10-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/mkgen.pl: set the svn:ignore property instead of
writing a .cvsignore file.
2007-10-27 Sven Neumann <sven@gimp.org>
* libgimpconfig/gimpcolorconfig.h (struct _GimpColorConfig):

View File

@ -7,8 +7,10 @@ require 'util.pl';
*write_file = \&Gimp::CodeGen::util::write_file;
*FILE_EXT = \$Gimp::CodeGen::util::FILE_EXT;
$ignorefile = ".svnignore";
$outmk = "Makefile.am$FILE_EXT";
$outignore = ".cvsignore$FILE_EXT";
$outignore = "$ignorefile$FILE_EXT";
open MK, "> $outmk";
open IGNORE, "> $outignore";
@ -177,3 +179,6 @@ close IGNORE;
&write_file($outmk);
&write_file($outignore);
system ("svn", "propset", "-F", $ignorefile, "svn:ignore", ".");
unlink $ignorefile;