Fix generation of svn_version.xml with Unix make

svn path=/trunk/; revision=13446
This commit is contained in:
Jörg Mayer 2005-02-20 07:25:58 +00:00
parent 24eba5be0d
commit a177b7a4cc
1 changed files with 5 additions and 2 deletions

View File

@ -35,7 +35,7 @@ XSLTPROC="xsltproc"
XMLLINT="xmllint"
# as eug_chm will stop with an error, make sure it's the last in this dependency list
all: eug edg
all: svn_version.xml eug edg
clean:
rm -f *.html
@ -58,7 +58,10 @@ eug: eug_validate eug_pdf_a4 eug_html eug_html_chunked eug_chm
#
# on every build, record the working copy revision string
#
svn_version.xml::
# FORCE is the portable version of .PHONY
FORCE:
svn_version.xml: FORCE
echo -n '<!ENTITY SvnVersion "' > svn_version.xml
svnversion -n . >> svn_version.xml
echo '">' >> svn_version.xml