diff --git a/ja/index.sgml b/ja/index.sgml index 99e02c56ff..0162db5ca3 100644 --- a/ja/index.sgml +++ b/ja/index.sgml @@ -1,12 +1,12 @@ - + %rev.incl; %includes; ]> - + - + @@ -99,6 +99,7 @@ + diff --git a/ja/internal/developer.sgml b/ja/internal/developer.sgml index 33bb2f2d4b..041a9e76c4 100644 --- a/ja/internal/developer.sgml +++ b/ja/internal/developer.sgml @@ -1,13 +1,13 @@ - + %rev.incl; %includes; ]> - - + + &header; @@ -29,7 +29,7 @@ FreeBSD Web ツールやソフトウェアを使ううちに,あなたはドキュメント化プロジェクトの 背後にある哲学に(命令と推奨の双方の意味で)従うようになるでしょう. -

FreeBSD ports 作成者のためのガイド

+

FreeBSD ports 作成者のためのガイド

FreeBSD ports 作成者のためのガイド diff --git a/ja/ports/Makefile.inc0 b/ja/ports/Makefile.inc0 index 3e32bbf7f0..1ef388e332 100644 --- a/ja/ports/Makefile.inc0 +++ b/ja/ports/Makefile.inc0 @@ -1,12 +1,12 @@ -# $FreeBSD$ +# $FreeBSD: www/ja/ports/Makefile.inc0,v 1.1 1999/11/15 21:58:16 kuriyama Exp $ # The FreeBSD Japanese Documentation Project -# Original revision: 1.2 +# Original revision: 1.3 -.if exists(../Makefile.conf) +.if exists(${.CURDIR}/../Makefile.conf) .include "../Makefile.conf" .endif -.if exists(../../en/ports/Makefile.inc) +.if exists(${.CURDIR}/../../en/ports/Makefile.inc) .include "../../en/ports/Makefile.inc" .endif diff --git a/ja/prehtml b/ja/prehtml index 52ac3435f4..7e0d7240fd 100755 --- a/ja/prehtml +++ b/ja/prehtml @@ -7,7 +7,7 @@ # usage: prehtml [-revcheck ] # (ex. % prehtml -revcheck ../.. news/1996 index.sgml) # -# $FreeBSD$ +# $FreeBSD: www/ja/prehtml,v 1.1 2000/10/02 09:16:04 kuriyama Exp $ my $revcheck; my $topdir; @@ -65,9 +65,16 @@ open TARGET,"<$file{target}" or die "cannot open a target file: $!\n"; my $pos_date; ### first, get date string and rev_target while(defined($_ = )) { - if(//) { + if(/"; + if(m/\"\$Free[B]SD: [^\s]+ [.0-9]+ ([\/0-9]+)[^\$]*\$\"/) { + $date = ""; + } else { + $date = ""; + } + } + if(/)) { $rev{target} ||= "TARGET revision not found"; $rev{org} ||= "ORG revision not found"; +### if offset of "date" string is not found, +### use "title"'s instead. +if(not defined $pos_date) { + if(not defined $pos_title) { + die qq/element "date" or "title" is not defined.\n/; + } + $pos_date = $pos_title; +} + ### next, put lines and replace the line with ### $date + entity difinitions for revcheck seek TARGET,0,0;