[SCM] Debian package checker branch, vendor-profile, updated. 2.5.0-rc3-4-g79a3138
The following commit has been merged in the vendor-profile branch:
commit 79a313866c44194bd69bd9e0b1efa296b2e10b32
Author: Niels Thykier <niels@thykier.net>
Date: Tue May 31 15:03:25 2011 +0200
Updated profile handling it d/rules
diff --git a/debian/rules b/debian/rules
index ec6b1a3..7daf968 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,7 @@ profiles: $(profiles)
$(profiles): $(allchecks) private/generate-profiles.pl
LINTIAN_ROOT='.' private/generate-profiles.pl
-runtests: $(neededfiles) $(allchecks) $(allcollect) $(tagfiles) $(testfiles)
+runtests: $(neededfiles) $(allchecks) $(allcollect) $(tagfiles) $(testfiles) $(profiles)
@echo .... running tests ....
rm -rf debian/tests
mkdir debian/tests
@@ -54,7 +54,7 @@ refresh-perl-provides:
perl private/refresh-perl-provides > $(perlprovides)
build: build-stamp
-build-stamp: $(neededfiles) $(docsource) $(testtarget)
+build-stamp: $(neededfiles) $(docsource) $(testtarget) $(profiles)
@echo .... running build ....
dh_testdir
cd doc && LANG=C docbook2html -V "%use-id-as-filename%" -o lintian.html lintian.xml
@@ -81,7 +81,7 @@ clean: $(neededfiles)
rm -rf doc/lintian.html/ doc/lintian.txt
rm -rf debian/tests
rm -rf man/man1/
- rm -fr debian/test.locale profiles/debian/main.profile
+ rm -fr debian/test.locale $(profiles)
dh_clean
binary-indep: $(neededfiles) build
diff --git a/frontend/lintian b/frontend/lintian
index f9288fe..46588bd 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -662,7 +662,7 @@ unless (defined $check_tags || %suppress_tags){
my $profile = Lintian::Profile->new($LINTIAN_PROFILE,
[PROFILE_PATH, "$LINTIAN_ROOT/profiles"]);
my @ptags = $profile->tags;
- print STDERR 'N: Using profile ' . $profile->name . ".\n";
+ v_msg('Using profile ' . $profile->name . ".\n");
$TAGS->only(@ptags);
}
}
--
Debian package checker
Reply to: