Re: Definitive package list for 2.1r5...
> which version of adjtimex are you talking about?
-2.1, same as you. debian/rules does the following:
debstd README debian/README.debian
mv debian/tmp/usr/share/doc/adjtimex/* debian/tmp/usr/doc/adjtimex/
rm -r debian/tmp/usr/share/doc/
mv debian/tmp/usr/share/man debian/tmp/usr/man
i.e. it expects that debstd installs docs and man pages to
/usr/share/{doc,man} and moves them back to /usr/{doc,man}. However,
the debstd in slink installs the files into /usr in first place so
that the action isn't necessary.
Probably this is a portable solution (for both debstd versions):
debstd README debian/README.debian
if [ -d debian/tmp/usr/share/doc ]; then \
mv debian/tmp/usr/share/doc/adjtimex/* debian/tmp/usr/doc/adjtimex/; \
rm -r debian/tmp/usr/share/doc/; \
fi
if [ -d debian/tmp/usr/share/man ]; then \
mv debian/tmp/usr/share/man debian/tmp/usr/man; \
fi
i.e. move the files/dirs only if they're in /usr/share.
Roman
Reply to: