From owner-cvs-all Mon May 8 17:26:20 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2E0F037B634; Mon, 8 May 2000 17:26:13 -0700 (PDT) (envelope-from nik@FreeBSD.org) Received: (from nik@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA35641; Mon, 8 May 2000 17:26:12 -0700 (PDT) (envelope-from nik@FreeBSD.org) Message-Id: <200005090026.RAA35641@freefall.freebsd.org> From: Nik Clayton Date: Mon, 8 May 2000 17:26:12 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: doc/en_US.ISO_8859-1/books/porters-handbook book.sgml Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG nik 2000/05/08 17:26:12 PDT Modified files: en_US.ISO_8859-1/books/porters-handbook book.sgml Log: [ Once more, but this time, with feeling. Oh, "Hello Paul" :-) ] Welcome to the porter's handbook, based on section 4.4 from the Handbook. To do this for your language, checkout a copy of the docs, and: cd doc//books/ mkdir porter-handbook cd porter-handbook cp ../handbook/ports/chapter.sgml book.sgml Now edit book.sgml. Add the following just after the comment at the top of the file (and before the element (everything between the two '===') === %man; %bookinfo; %authors; %mailing-lists; ]> FreeBSD Porter's Handbook The FreeBSD Documentation Project
doc@@FreeBSD.org
April 2000 2000 &bookinfo.legalnotice;
== Delete all the text from to *and* the for that section. You should be left with <sect2> <title>Making a port yourself ... (obviously, translated to your language). Next, do a search and replace of the various sectional elements, replacing them with the element two-up in the hierarchy. In other words, sect2 becomes chapter sect3 becomes sect1 sect4 becomes sect2 There's nothing below in that document. Go to the bottom of the file, you'll see
Delete the last two lines, and add a "" to close off the content properly. Finally, in the comment section at the end delete the sgml-declaration: "../chapter.decl" and sgml-parent-document: ("../book.sgml" "part" "chapter") lines. Finally, copy over the "Makefile" and "freebsd.dsl" file from the English directory. You will need to translate the two lines of text in freebsd.dsl Once you've done that your copy of the file will be the same as the one I committed as version 1.1 in the English directory. This file won't build cleanly. This is because there are still some s and s which point back to chapters in the Handbook. We'll clean those up shortly. When that's done, and the doc is linked in to the website we can remove the text from the main Handbook. We're also sharing some entity files with the Handbook as well. At the moment those are SYSTEM entities pointing back to the Handbook copies. I'm going to shift them in to doc/share/sgml/, with the other language independent entities. Oh, and the structure needs looking at. Some of the things that are chapters now could probably be sections inside another chapter. This is why I haven't changed the indentation yet, as it'll only change as we sort out the structure. Revision Changes Path 1.97 +223 -1177 doc/en_US.ISO_8859-1/books/porters-handbook/book.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message