#50091 binary-arch target should not build all man pages

Package:
perl
Source:
perl
Description:
Larry Wall's Practical Extraction and Report Language
Submitter:
Madarasz Gergely
Date:
2023-06-06 14:48:03 UTC
Severity:
wishlist
#50091#5
Date:
1999-11-13 16:52:55 UTC
From:
To:
the binary-arch target builds the doc package which is binary-all. it makes
the package build on other arches very slow

#50091#12
Date:
2002-01-09 04:13:38 UTC
From:
To:
retitle 50091 binary-arch target should not build all man pages
severity 50091 wishlist
thanks

Unfortunately some man pages are included with the binary-arch targets,
and only building a sub-set is tricky.  Sorry.

Regards,

#50091#21
Date:
2023-06-06 14:40:44 UTC
From:
To:
Dear Maintainer,

building perl from source with profile nodocs fails.

# mkdir perl
# cd perl
# apt source perl
# apt build-dep perl
# cd perl-5.36.0/
# dpkg-buildpackage -B -Pnodoc,nocheck -uc -us

mv: cannot stat 'debian/libperl5.36/usr/share/man/man1/perl.1': No such file or directory
mv: cannot stat 'debian/libperl5.36/usr/share/man/man1/cpan.1': No such file or directory
make[1]: *** [debian/rules:291: execute_after_dh_installman-arch] Error 1
make[1]: Leaving directory '/tmp/perl/perl-5.36.0'
make: *** [debian/rules:79: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2