head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2008.06.15.15.45.36;	author keramida;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Add a new Python-based utility we wrote for the FreeBSD Greek
documentation project (and anyone else interested to use it).
In the translated files, we have added special `tags' some time
in the past, using the format:

    %SOURCE%    en_GR.ISO8859-1/articles/foo/file.sgml
    %SRCID%     1.5

to denote that this translation was based on revision 1.5 of the
file referenced in `%SOURCE%'.

The `checkupdate' utility makes parsing and checking of these
tags easier.  It expects to receive a list of files to check in
standard input, so it can be run by typing:

    find el_GR.ISO8859-7 | checkupdate

This should report in standard output something like:

: el_GR.ISO8859-7/articles/compiz-fusion/Makefile rev. 1.1
:     1.1        -> 1.1         en_US.ISO8859-1/articles/compiz-fusion/Makefile
:
: el_GR.ISO8859-7/articles/compiz-fusion/article.sgml rev. 1.1
:     1.3        -> 1.5         en_US.ISO8859-1/articles/compiz-fusion/article.sgml

We will keep extending the `checkupdate.py' script to add more
features, like a "patch preview" mode.  The version committed
here works well enough for now, and it already shows a lot of
files that we have to update in el_GR.ISO8859-7 :)

Inspired by:    pgj's shell based version of `checkupdate'
@
text
@# $FreeBSD$

SCRIPTS= checkupdate
MAN= checkupdate.1

CLEANFILES= ${SCRIPTS}

BINDIR?= ${HOME}/bin

.SUFFIXES:	.py

.py:
	cat ${.ALLSRC} > ${.TARGET}

.include <bsd.prog.mk>
@
