diff --git a/Doxyfile b/Doxyfile index 57cdd8de3ee384abf072b9da95cb847d9af88486..59fb6de138051ff1bb946a3b2f81bb95b0b8682e 100644 --- a/Doxyfile +++ b/Doxyfile @@ -1,5 +1,5 @@ PROJECT_NAME = Overview -PROJECT_NUMBER = +PROJECT_NUMBER = "(Revision $(REVISION), generated $(TODAY))" OUTPUT_DIRECTORY = doc INPUT = . diff --git a/Packets/Doxyfile b/Packets/Doxyfile index ccebd76adb194e3f5e6aaa6f0d24a214e5c7d5c3..95d25b4efd73f5de5a42bada9d4e7f287d989635 100644 --- a/Packets/Doxyfile +++ b/Packets/Doxyfile @@ -1,6 +1,5 @@ @INCLUDE = ../doclib/Doxyfile.global PROJECT_NAME = libPackets -PROJECT_NUMBER = "Version 0.0.1" TAGFILES = ../Utils/doc/Utils.tag GENERATE_TAGFILE = doc/Packets.tag \ No newline at end of file diff --git a/SConstruct b/SConstruct index ca3fad0acf7fff731142800fdb7f8aa084ae68c4..2bd5c4533144ca4d88e0a3639ca7b66540de788b 100644 --- a/SConstruct +++ b/SConstruct @@ -16,6 +16,19 @@ env.Append( DOXY_XREF_TYPES = [ 'bug', 'fixme', 'todo', 'idea' ], ) +import datetime + +svninfo = dict( + [ tuple(map(lambda y:y.strip(),x.split(":",1))) + for x in os.popen("svn info").read().split("\n") + if ':' in x ] ) +svninfo['commited'] = not(os.popen("svn status").read()) + +env.Append( + ENV = { 'TODAY' : datetime.date.today(), + 'REVISION' : svninfo['Revision'] + (not(svninfo['commited']) and " + local changes" or "") } +) + Export('env') SConscript(glob.glob("*/SConscript")) diff --git a/Scheduler/Doxyfile b/Scheduler/Doxyfile index d746d23f518dc051b05ffcd33455fded7b168647..157f80892bb8f3cefa06bef343754f9711fc2e6f 100644 --- a/Scheduler/Doxyfile +++ b/Scheduler/Doxyfile @@ -1,6 +1,5 @@ @INCLUDE = ../doclib/Doxyfile.global PROJECT_NAME = libScheduler -PROJECT_NUMBER = "Version 0.0.1" TAGFILES = ../Utils/doc/Utils.tag GENERATE_TAGFILE = doc/Scheduler.tag diff --git a/Socket/Doxyfile b/Socket/Doxyfile index 93f192ff5577edabbd0a07dab1a7db4571c3c954..1a5a548d41e798f07f5cad3812cbcf1af445a9ba 100644 --- a/Socket/Doxyfile +++ b/Socket/Doxyfile @@ -1,7 +1,6 @@ @INCLUDE = ../doclib/Doxyfile.global PROJECT_NAME = libSocket -PROJECT_NUMBER = "Version 0.0.1" TAGFILES = ../Utils/doc/Utils.tag GENERATE_TAGFILE = doc/Socket.tag diff --git a/Utils/Doxyfile b/Utils/Doxyfile index 50ae9a9321477171a54b9bfcf6855dea1db674ba..414df50ba7b494eab32983461ea67bac32c5fdeb 100644 --- a/Utils/Doxyfile +++ b/Utils/Doxyfile @@ -1,5 +1,4 @@ @INCLUDE = ../doclib/Doxyfile.global PROJECT_NAME = libUtils -PROJECT_NUMBER = "Version 0.0.1" GENERATE_TAGFILE = doc/Utils.tag diff --git a/doclib/doxy-footer.html b/doclib/doxy-footer.html index 30cccfb8c392cd39d309f2c5051b620c1892c8f6..dd3d9bc55aa6505fa1200e004668b3b1f032dd56 100644 --- a/doclib/doxy-footer.html +++ b/doclib/doxy-footer.html @@ -4,7 +4,7 @@ <div id="footer"> <span> <a href="mailto:senf-dev@lists.berlios.de">Contact: senf-dev@lists.berlios.de</a> | - Copyright © 2006 Fraunhofer Gesellschft, SatCom, Stefan Bund + Copyright © 2006 Fraunhofer Gesellschaft, SatCom, Stefan Bund </span> </div> </body></html>