diff options
Diffstat (limited to 't/recipes/checks/documentation/manual/manpages-wrong-dir')
6 files changed, 48 insertions, 0 deletions
diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/debian/install new file mode 100644 index 0000000..ad89b63 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/debian/install @@ -0,0 +1,2 @@ +zecho.1.gz usr/share/man +zecho.1.gz usr/share/man/man-lintian diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/fill-values new file mode 100644 index 0000000..35e0a12 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: manpages-wrong-dir +Description: Test for manpages in wrong dirs diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/Makefile b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/Makefile new file mode 100644 index 0000000..cff6c32 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/Makefile @@ -0,0 +1,14 @@ +all: pecho.1.gz zecho.1.gz + +%.gz: % + gzip --best $< + +%.1: % + pod2man --section 1 $< > $@ + +zecho: pecho + sed s/$</$@/g $< > $@ + chmod 0755 $@ + +clean: + rm -f pecho.1.gz zecho* diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/pecho b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/pecho new file mode 100644 index 0000000..d982088 --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/build-spec/orig/pecho @@ -0,0 +1,25 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +print join(' ', @ARGV), "\n"; + +=head1 NAME + +pecho - POSIX compliant Perl implementation of echo + +=head1 SYNOPSIS + +pecho [args ...] + +=head1 DESCRIPTION + +Prints arguments to stdout. + +=head1 AUTHORS + +Niels Thykier <niels@thykier.net> + +=cut + diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/desc b/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/desc new file mode 100644 index 0000000..0ca852b --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/desc @@ -0,0 +1,2 @@ +Testname: manpages-wrong-dir +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/hints b/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/hints new file mode 100644 index 0000000..869084d --- /dev/null +++ b/t/recipes/checks/documentation/manual/manpages-wrong-dir/eval/hints @@ -0,0 +1,2 @@ +manpages-wrong-dir (binary): odd-place-for-manual-page [usr/share/man/zecho.1.gz] +manpages-wrong-dir (binary): odd-place-for-manual-page [usr/share/man/man-lintian/zecho.1.gz] |