diff options
Diffstat (limited to 't/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian')
3 files changed, 14 insertions, 0 deletions
diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/install b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/manpages new file mode 100644 index 0000000..67a8262 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/manpages @@ -0,0 +1 @@ +undocumented.7 diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/rules b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/rules new file mode 100755 index 0000000..e0581b1 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +tmp := $(CURDIR)/debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_link: + dh_link + + install -d $(tmp)/usr/share/man/man1 + ln -s undocumented.7.gz $(tmp)/usr/share/man/man1/sbin-binary.1.gz |