[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dh_installdocs ignores package.README.Debian

Dear People,

What the subject says. Dh_installdocs does *not* install README.Debian
as I desire. Can't figure out what I am doing wrong. The relevant
lines in debian/rules are as follows.

The package in question is listed in debian/control as

Package: python2.3-pyx
Architecture: any

and I have a file called


So this should be dealt with by the call of dh_installdocs in the
binary_arch section, surely.

What am I doing wrong?

Incidentally, I'm a bit mystified by the 

dh_installdocs -A -A...

in the second invocation of dh_installdocs below. (I inherited this
rules file from an earlier version of this package). I can't
understand (from the man page) what this is supposed to do.

Thanks in advance. Please cc me, I'm not subscribed.

# Build architecture-independent files here.
binary-indep: install doc/manual.pdf doc/pyxfaq.pdf
        dh_install -p python-pyx-doc manual/manual.pdf faq/pyxfaq.pdf
	examples/examples.pdf usr/share/doc/python-pyx-doc
        dh_install -i --sourcedir=debian/tmp
        dh_installchangelogs -i CHANGES
        dh_installdocs -i -A README AUTHORS
        dh_link -i
        dh_compress -i
        dh_fixperms -i
        dh_installdeb -i
        dh_gencontrol -i
        dh_md5sums -i
        dh_builddeb -i

# Build architecture-dependent files here.
binary-arch: install
        dh_install -a --sourcedir=debian/tmp
        dh_installchangelogs -a CHANGES
        dh_installdocs -A -A README AUTHORS
        dh_installexamples -X .svn
        dh_link -a
        dh_compress -a
        dh_fixperms -a
        dh_installdeb -a
        dh_shlibdeps -a
        dh_gencontrol -a
        dh_md5sums -a
        dh_builddeb -a

Reply to: