Package: debhelper Version: 9.20130630 Severity: wishlist Currently, dh_installdocs installs doc without touching its content based on debian/package.docs.
I know you want to keep this simple but can you add a feature to filter file via script? Basically, if you found | after the file name, use the line after the first | as a shell one line script to filter the file. The program to use for filtering gives great capability. * nkf for lazy Japanese conversion from many encodings * iconv for most encoding change (no extra dependency) * sed to do surgical changes. debian/docs looks like: ----------- ENGLISH.TXT|iconv -f LATIN-1 README |iconv -f ISO-2022-JP TUTORIAL |iconv -f EUC-JP HELP.TXT |iconv -f SHIFT-JIS *.html |iconv -f SHIFT-JIS | sed -e 's/charset=SHIFT-JIS/charset=UTF-8/' USER.TXT |nkf doc/* |nkf ----------- I do not think there are any insane program using spaces and | as a part of the name of their documentation files. The script should be run for all files one-by-one :-) Several of my packages and patches sent use override_dh_installdocs to do this. But above is more readable. What do you think? Osamu -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.10-2-rt-amd64 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages debhelper depends on: ii binutils 2.23.52.20130727-1 ii dpkg 1.17.1 ii dpkg-dev 1.17.1 ii file 1:5.14-2 ii man-db 2.6.5-2 ii perl 5.14.2-21 ii po-debconf 1.0.16+nmu2 debhelper recommends no packages. Versions of packages debhelper suggests: ii dh-make 0.62 -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

