Permalink
Browse files

copyright url and rules processing fixed

  • Loading branch information...
1 parent b900060 commit d54fa199b365e24da199dd531f81ac437cbb601b Craig Small committed Jan 17, 2011
Showing with 9 additions and 2 deletions.
  1. +1 −1 debian/copyright
  2. +8 −1 dh_make
View
2 debian/copyright
@@ -1,6 +1,6 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: dh-make
-Source: <url://example.com>
+Source: http://git.debian.org/?p=collab-maint/dh-make.git;a=summary
Files: *
Copyright: 1998-2011 Craig Small <csmall@debian.org>
View
9 dh_make
@@ -31,7 +31,7 @@ our $package_name="";
our $cap_package_name="";
our $version="";
our $fullname = "";
-our $rules_format = "";
+our $rules_format = "dh7";
our $source_file="";
our $debian_native = 0;
our $create_orig_tar = 0;
@@ -710,6 +710,13 @@ if ( ! $no_defaults )
@filenames = split / |\n/, qx{(cd $DHLIB/debian$package_type && ls)};
foreach $filename (@filenames)
{
+ if ( $filename=~/^rules/ )
+ {
+ if ( $filename ne "rules.$rules_format")
+ {
+ next;
+ }
+ }
process_file("$DHLIB/debian$package_type/$filename", $filename);
}
}

0 comments on commit d54fa19

Please sign in to comment.