diff options
Diffstat (limited to 't/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian')
2 files changed, 27 insertions, 0 deletions
diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/control.in b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/control.in new file mode 100644 index 0000000..cf3511a --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: Has a symlink to examples + 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 package has a symlink to examples. diff --git a/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/rules b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/rules new file mode 100644 index 0000000..f5ec31b --- /dev/null +++ b/t/recipes/checks/examples/cruft-package-does-not-install-examples-symlink/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +PKG = $(shell dh_listpackages) + +%: + dh $@ + +override_dh_link: + dh_link /etc /usr/share/doc/$(PKG)/examples |