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

documentation location problem in 'classpath-doc'



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I do not know if I have to fill a bug for this, but I think the
classpath-doc package put the api documenation in a wrong directory.

According to the Debian Policy:

  13.3 Additional documentation

    Any additional documentation that comes with the package
    may  be  installed  at  the discretion  of  the  package
    maintainer.  Text documentation  should be  installed in
    the  directory /usr/share/doc/package, where  package is
    the  name of the  package, and  compressed with  gzip -9
    unless it is small.

If this have been discussed before, forgive me and forget my mail.

First, in the control file, for classpath-doc, shouldn't the
architecture be all and not any?

Now, to resolve the problem, simply add a file in the debian
directory: classpath-doc.docs with one line: doc/*

and remove these lines in the rule (install target):

	#move documentation into separate package
	mkdir -p `pwd`/debian/classpath-doc/usr/share/classpath
	mv $(CURDIR)/debian/classpath/usr/share/classpath/api `pwd`/debian/classpath-doc/usr/share/classpath

It works for me.

- -- arnaud @ home
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+mqDa4vzFZu62tMIRAnyWAJ4iMoTmotvCbUkKKFafpMOr1JSo9gCcDPRt
DifqvDdfNaukQT1bR/YfuEU=
=awc5
-----END PGP SIGNATURE-----



Reply to: