diff options
Diffstat (limited to 't/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec')
5 files changed, 68 insertions, 0 deletions
diff --git a/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/control.in b/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/control.in new file mode 100644 index 0000000..2e815d0 --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/control.in @@ -0,0 +1,38 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, [% $source %]-dependency +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-dependency +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (dependency) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This is a dependency for [% $source %] + +Package: [% $source %]-not-a-dependency +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (not a dependency) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This is not a dependency for [% $source %] diff --git a/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/doc-base b/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/doc-base new file mode 100644 index 0000000..ff017e2 --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/doc-base @@ -0,0 +1,13 @@ +Document: example +Title: An example doc-base control file +Author: Chris Lamb +Section: Help + +Format: HTML +Index: /usr/share/doc/menus-doc-base-file-references-missing-file/documentation.txt +Files: + /missing + /usr/share/doc/menus-doc-base-file-references-missing-file/documentation.txt + /usr/share/doc/menus-doc-base-file-references-missing-file/documentatio?.t*t + /usr/share/doc/menus-doc-base-file-references-missing-file-dependency/documentation.txt + /usr/share/doc/menus-doc-base-file-references-missing-file-not-a-dependency/documentation.txt diff --git a/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/rules b/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/rules new file mode 100644 index 0000000..1383288 --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +MAIN = $(shell dh_listpackages | head -n1) +DEPENDENCY = $(MAIN)-dependency +NOT_A_DEPENDENCY = $(MAIN)-not-a-dependency + +%: + dh $@ + +override_dh_installdocs: + dh_installdocs -p$(MAIN) documentation.txt + dh_installdocs -p$(DEPENDENCY) documentation.txt + dh_installdocs -p$(NOT_A_DEPENDENCY) documentation.txt diff --git a/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/fill-values b/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/fill-values new file mode 100644 index 0000000..11e92fe --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: menus-doc-base-file-references-missing-file +Description: check for missing files in doc-base diff --git a/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/orig/documentation.txt b/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/orig/documentation.txt new file mode 100644 index 0000000..82f7692 --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-file-references-missing-file/build-spec/orig/documentation.txt @@ -0,0 +1 @@ +This is example documentation. |