From 7b358424ebad9349421acd533c2fa1cbf6cf3e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 28 Dec 2016 16:52:56 +0100 Subject: Initial import of xtrkcad version 1:4.0.2-2 --- app/doxfileversionfilter.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/doxfileversionfilter.sh (limited to 'app/doxfileversionfilter.sh') diff --git a/app/doxfileversionfilter.sh b/app/doxfileversionfilter.sh new file mode 100644 index 0000000..5078bd4 --- /dev/null +++ b/app/doxfileversionfilter.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# a script to get the cvs version number of a particular file +# used by doxygen to identify the source of the doxygen-produced documentation +# $1 contains the full pathname of the file of interest. cvs expects a pathname +# relative to the directory from which doxygen is invoked. +# Note that the cvs status command must consult the server (sourceforge.net) +# and is therefore quite slow. + +WD=`pwd` +FN=`echo "$1" | sed "s|${WD}/||" ` +cvs status ${FN} | sed -n 's/^[ \]*Working revision:[ \t]*\([0-9][0-9\.]*\).*/\1/p' \ No newline at end of file -- cgit v1.2.3