Hi, > $ dh_make --addmissing > > This fails as: > Skipping creating ../hello-debhelper_2.5.orig.tar.gz because it already exists > Unable to open file source/format for writing: No such file or directory > Press any key to continue... > > Just missinh debian/source/format file is OK. But missing debian/source > directory kills this.
I made a quick patch for this issue, please test it.
diff -urN dh-make-0.52.orig/dh_make dh-make-0.52/dh_make
--- dh-make-0.52.orig/dh_make 2010-03-08 11:20:01.000000000 +0900
+++ dh-make-0.52/dh_make 2010-03-24 13:25:22.909455019 +0900
@@ -111,6 +111,12 @@
}
}
+
+ if ( ! -d 'debian/source' )
+ {
+ chdir 'debian' ;mkdir 'source', 0755 or die "Unable to create
directory debian/source: $! \n";
+ }
+
open OUT, ">$outfile" or die "Unable to open file $outfile for writing:
$! \n";
if ($debian_native)
{
pgpsuOeArmRij.pgp
Description: PGP signature

