Skip to content

Commit

Permalink
copyright url and rules processing fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Small committed Jan 17, 2011
1 parent b900060 commit d54fa19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/copyright
@@ -1,6 +1,6 @@
Format: http://dep.debian.net/deps/dep5 Format: http://dep.debian.net/deps/dep5
Upstream-Name: dh-make Upstream-Name: dh-make
Source: <url://example.com> Source: http://git.debian.org/?p=collab-maint/dh-make.git;a=summary


Files: * Files: *
Copyright: 1998-2011 Craig Small <csmall@debian.org> Copyright: 1998-2011 Craig Small <csmall@debian.org>
Expand Down
9 changes: 8 additions & 1 deletion dh_make
Expand Up @@ -31,7 +31,7 @@ our $package_name="";
our $cap_package_name=""; our $cap_package_name="";
our $version=""; our $version="";
our $fullname = ""; our $fullname = "";
our $rules_format = ""; our $rules_format = "dh7";
our $source_file=""; our $source_file="";
our $debian_native = 0; our $debian_native = 0;
our $create_orig_tar = 0; our $create_orig_tar = 0;
Expand Down Expand Up @@ -710,6 +710,13 @@ if ( ! $no_defaults )
@filenames = split / |\n/, qx{(cd $DHLIB/debian$package_type && ls)}; @filenames = split / |\n/, qx{(cd $DHLIB/debian$package_type && ls)};
foreach $filename (@filenames) foreach $filename (@filenames)
{ {
if ( $filename=~/^rules/ )
{
if ( $filename ne "rules.$rules_format")
{
next;
}
}
process_file("$DHLIB/debian$package_type/$filename", $filename); process_file("$DHLIB/debian$package_type/$filename", $filename);
} }
} }
Expand Down

0 comments on commit d54fa19

Please sign in to comment.