rename $subdirs[0],$base or confess "$!";
_system(join(" ","cd ".$base.";dpkg-buildpackage",
"-rfakeroot",
rename $subdirs[0],$base or confess "$!";
_system(join(" ","cd ".$base.";dpkg-buildpackage",
"-rfakeroot",
"rpmtest" ,sub { $class->_rpmbuild("sign"=>0); },
"deb" ,sub { $class->_debbuild("sign"=>1); },
"debtest" ,sub { $class->_debbuild("sign"=>0); },
"rpmtest" ,sub { $class->_rpmbuild("sign"=>0); },
"deb" ,sub { $class->_debbuild("sign"=>1); },
"debtest" ,sub { $class->_debbuild("sign"=>0); },
- "cleanfilesfordir=s",sub { print "$_\n" for (_cleanfilesfordir $_[1]); exit 0; },
+ "cleanfilesfordir=s",sub { print "$_\n" for (_cleanfilesfordir($_[1],_cleanfiles())); exit 0; },
"dist" ,\$Options{"ARGV_dist"},
"copy!" ,\$Options{"ARGV_copy"},
"clean" ,\$Options{"ARGV_clean"},
"dist" ,\$Options{"ARGV_dist"},
"copy!" ,\$Options{"ARGV_copy"},
"clean" ,\$Options{"ARGV_clean"},
_writefile $dir."/.cvsignore",map("$_\n",@cleanfilesfordir) if !$Options{"ARGV_fullclean"};
_remove "nocheck",\1,map({ _expandclass("$dir/$_"); } grep({
$Options{"ARGV_fullclean"} or $_ ne ".cvsignore";
_writefile $dir."/.cvsignore",map("$_\n",@cleanfilesfordir) if !$Options{"ARGV_fullclean"};
_remove "nocheck",\1,map({ _expandclass("$dir/$_"); } grep({
$Options{"ARGV_fullclean"} or $_ ne ".cvsignore";
Supports: B<gettext>, B<glib-gettext>, B<libtool>, B<autoconf>, B<automake>.
=back
Supports: B<gettext>, B<glib-gettext>, B<libtool>, B<autoconf>, B<automake>.
=back
Full project-basedir relative path to the deleted file. Rule applies only to
the one specified directory. Although B<path/to/file.c> would be also possible
Full project-basedir relative path to the deleted file. Rule applies only to
the one specified directory. Although B<path/to/file.c> would be also possible
to delete file just in the root directory (as B<only_basedir.c> would delete
it in ALL subdirectories incl. the root one).
to delete file just in the root directory (as B<only_basedir.c> would delete
it in ALL subdirectories incl. the root one).
Delete B<basename_generated.c> found in any subdirectory of the project.
It has the same effect as B<./*/basename_generated.c> entry.
Delete B<basename_generated.c> found in any subdirectory of the project.
It has the same effect as B<./*/basename_generated.c> entry.
Delete B<name.c> in B<./subdir> and all of its subdirector descendants.
Entry B<subdir/*/name.c> would have the same effect.
Delete B<name.c> in B<./subdir> and all of its subdirector descendants.
Entry B<subdir/*/name.c> would have the same effect.
Use the following alternate B<autogen.pl> prolog if your branch does not belong
to the B<MAIN> CVS branch:
Use the following alternate B<autogen.pl> prolog if your branch does not belong
to the B<MAIN> CVS branch:
Put B<fooproject-1.2.3.tar.gz> archive to the project root directory
as B<orig-fooproject-1.2.3.tar.gz>.
Put B<fooproject-1.2.3.tar.gz> archive to the project root directory
as B<orig-fooproject-1.2.3.tar.gz>.
Set B<$VERSION> in B<configure.ac> file with you vendor prefix such as
B<1.2.3joe1>. Set B<$VERSION_BASE> to B<1.2.3> and B<$VERSION_EXT> to B<joe1>.
Set B<$VERSION> in B<configure.ac> file with you vendor prefix such as
B<1.2.3joe1>. Set B<$VERSION_BASE> to B<1.2.3> and B<$VERSION_EXT> to B<joe1>.
Add line B<Patch1: @PACKAGE@-@VERSION_BASE@-@VERSION_EXT@.patch>.
This patch file name is not mandatory.
Add line B<Patch1: @PACKAGE@-@VERSION_BASE@-@VERSION_EXT@.patch>.
This patch file name is not mandatory.
Remember to call B<autotools> commands manually in the B<%build>
section if their source files were modified in your vendor branch.
Remember to call B<autotools> commands manually in the B<%build>
section if their source files were modified in your vendor branch.
Use B<@VERSION@> in B<debian/changelog.in>. Package will be built as
Debian-native package (no I<.diff> file) as the patches are not just for Debian
packages, it is a new package (read: dpkg does not support branch patches).
=back
Use B<@VERSION@> in B<debian/changelog.in>. Package will be built as
Debian-native package (no I<.diff> file) as the patches are not just for Debian
packages, it is a new package (read: dpkg does not support branch patches).
=back