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

Bug#649811: Publication of copyright-format 1.0, a.k.a DEP 5 (after it is accepted).

Le Thu, Nov 24, 2011 at 10:03:41AM +0900, Charles Plessy a écrit :
> I think that we can be confident that DEP 5's URL will be:
>   http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 
> (see http://bugs.debian.org/640737)
> and that the debian-policy package will contain the documents in the
> following files:
>   /usr/share/doc/debian-policy/copyright-format-1.0.html
>   /usr/share/doc/debian-policy/copyright-format-1.0.xml.tar.gz
>   /usr/share/doc/debian-policy/copyright-format-1.0.txt.gz
> (see http://bugs.debian.org/646119)
> I propose to discuss in this bug the changes needed on the Debian website to
> publish DEP 5 when it will be accepted.
> On the technical side, it looks like the following command in parts/7doc would
> be sufficient to install the files.  Can somebody confirm ?
>   install_policy_doc copyright-format-1.0 packaging-manuals . yes

That was blatantly wrong, sorry for the noise.

What is needed is more along the following.

echo -n " copyright-format/1.0/"
install -d -m 2775 $webdocdir/packaging-manuals/copyright-format/1.0/
zcat dp/usr/share/doc/debian-policy/copyright-format-1.0.txt.gz > dp/copyright-format-1.0.txt
install -p -m 664 dp/copyright-format-1.0.txt $webdocdir/packaging-manuals/copyright-format/1.0/index.txt
install -p -m 664 dp/usr/share/doc/debian-policy/copyright-format-1.0.html $webdocdir/packaging-manuals/copyright-format/1.0/index.html

One could do more complicated, having the file in 
$webdocdir/packaging-manuals/copyright-format/1.0/copyright-format-1.0.html and
$webdocdir/packaging-manuals/copyright-format/1.0/index.html linking to it.  Please
let me know your preference.

Have a nice day,

Charles Plessy
Tsurumi, Kanagawa, Japan

Reply to: