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

Bug#193037: classpath-doc: documentation not in /usr/share/doc



Package: classpath-doc
Version: 0.05-1
Severity: normal

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.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux vbstefi30.fapse.ulg.ac.be 2.4.20-1-686 #1 Sat Mar 22 13:16:21 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set)

-- no debconf information

-- Arnaud Vandyck @ ste-fi, ULg



Reply to: