1
Index: svn-buildpackage
2
===================================================================
3
--- svn-buildpackage (Revision 1406)
4
+++ svn-buildpackage (Arbeitskopie)
6
--svn-dont-purge Don't wipe the build directory (default: purge after build)
7
--svn-no-links Don't use file links (default: use where possible)
8
--svn-ignore-new Don't stop on svn conflicts or new/changed files
9
+ --svn-ignore-master Never use the .master directory
10
--svn-verbose More verbose program output
11
--svn-builder CMD Use CMD as build command instead of dpkg-buildpackage
12
--svn-override a=b Override some config variable (comma separated list)
13
--svn-move move package files to .. after successful build
14
- --svn-move-to XYZ move package files to XYZ, implies --svn-move
15
+ --svn-move-to XYZ like --svn-move but moves package files to directory XYZ
16
--svn-only-tag Tags the current trunk directory without building
17
--svn-tag Final build: Export && build && tag && dch -i
18
--svn-lintian Run lintian in the build area when done
28
"h|help" => \$opt_help,
29
"svn-verbose" => \$opt_verbose,
30
"svn-ignore-new" => \$opt_ignnew,
31
+ "svn-ignore-master" => \$opt_ignmaster,
32
"svn-dont-clean" => \$opt_dontclean,
33
"svn-dont-purge" => \$opt_dontpurge,
34
"svn-only-tag" => \$opt_only_tag,
36
die "E: Could not find the upstream source file! (should be $origExpect)\n" if(! ($origfile && -e $origfile));
39
- withecho "tar", "zxf", $origfile, "-C", "$ba/tmp-$mod";
40
+ if($opt_ignmaster || !-e "$bdir.master" || 0!=system("cp", "-la", "$bdir.master", $bdir)) {
41
+ withecho "tar", "zxf", $origfile, "-C", "$ba/tmp-$mod";
44
withecho "mv $ba/tmp-$mod/* $bdir";
45
withecho "rm", "-rf", "$ba/tmp-$mod";
46
if($opt_nolinks || $opt_ignnew) {
47
+ # svn export is blind for unregistered new files, but that would remind to run "svn add" on them
48
withecho ("svn", "export", $$c{"trunkDir"},"$ba/tmp-$mod");
49
withecho "cp", "-af", "$ba/tmp-$mod/.", "$bdir/";