doclib: changed copyright information in footer
[senf.git] / doclib / SConscript
index 1e76124..22a2645 100644 (file)
 #   '\code' and '<pre>' blocks. Additionally it will expand all tabs,
 #   tab width is 8 spaces (there should be no tabs in the source but
 #   ...)
-# 
+#
+# * 'site_scons/lib/filter.pl' calls 'site_scons/lib/makeDiaImageMap.py'
+#   whenever finding a '\diaimage' command. This will create an image
+#   map (in an encoded form which will be fixed by html-munge.xsl
+#   later)
+#
 # * doxygen calls 'site_scons/lib/dot' to generate the 'dot' images.
 #
 # * 'site_scons/lib/dot' calls 'site_scons/lib/dot-munge.pl' on the
@@ -233,7 +238,8 @@ FOOTER = """<hr style="width:0px;border:none;clear:both;margin:0;padding:0" />
 <div id="footer">
   <span>
     <a href="mailto:senf-dev@lists.berlios.de">Contact: senf-dev@lists.berlios.de</a> |
-    Copyright &copy; 2006 Fraunhofer Gesellschaft, SatCom, Stefan Bund
+    &copy; 2006-2009 <a href="http://www.fokus.fraunhofer.de/en/net/index.html">
+    Fraunhofer Institute for Open Communication Systems, Network Research</a>
   </span>
 </div>
 </body></html>"""
@@ -256,30 +262,24 @@ env.SetDefault(
     DOXYGEN = "doxygen"
 )
 
-env.Replace(
-    DOXYGENCOM = "site_scons/lib/doxygen.sh $DOXYOPTS $SOURCE",
-)
-
 env.Append( ENV = {
     'TODAY' : str(datetime.date.today()),
     'DOXYGEN' : str(env.File(env['DOXYGEN'])),
 })
 
 env.PhonyTarget('linklint', [], [
-    'rm -rf linklint',
-    'linklint -doc linklint -limit 99999999 `find -type d -name html -printf "/%P/@ "`',
-    '[ ! -r linklint/errorX.html ] || python doclib/linklint_addnames.py <linklint/errorX.html >linklint/errorX.html.new',
-    '[ ! -r linklint/errorX.html.new ] || mv linklint/errorX.html.new linklint/errorX.html',
-    '[ ! -r linklint/errorAX.html ] || python doclib/linklint_addnames.py <linklint/errorAX.html >linklint/errorAX.html.new',
-    '[ ! -r linklint/errorAX.html.new ] || mv linklint/errorAX.html.new linklint/errorAX.html',
-    'echo -e "\\nLokal link check results: linklint/index.html\\nRemote link check results: linklint/urlindex.html\\n"',
+    'rm -rf doc/linklint',
+    'linklint -doc doc/linklint -limit 99999999 `find -type d -name html -printf "/%P/@ "`',
+    '[ ! -r doc/linklint/errorX.html ] || python doclib/linklint_addnames.py <doc/linklint/errorX.html >doc/linklint/errorX.html.new',
+    '[ ! -r doc/linklint/errorX.html.new ] || mv doc/linklint/errorX.html.new doc/linklint/errorX.html',
+    '[ ! -r doc/linklint/errorAX.html ] || python doclib/linklint_addnames.py <doc/linklint/errorAX.html >doc/linklint/errorAX.html.new',
+    '[ ! -r doc/linklint/errorAX.html.new ] || mv doc/linklint/errorAX.html.new doc/linklint/errorAX.html',
 ])
 
 env.PhonyTarget('fixlinks', [], [
-    'python doclib/fix-links.py -v -s .svn -s linklint -s debian linklint/errorX.txt linklint/errorAX.txt',
+    'python doclib/fix-links.py -v -s .svn -s linklint -s debian doc/linklint/errorX.txt doc/linklint/errorAX.txt',
 ])
 
-
 header = env.Command('doxy-header.html', 'SConscript', writeTemplate,
                      TEMPLATE = Literal(HEADER),
                      TITLE = "Documentation and API reference")
@@ -318,3 +318,5 @@ env.Clean('all', 'doxy-header.html') # I should not need this but I do ...
 env.Clean('all_docs', 'doxy-header.html') # I should not need this but I do ...
 
 env.Install('${DOCINSTALLDIR}', 'index.html')
+
+env.Depends(SENFSCons.Doxygen(env, output_directory="../doc"), env.Value(env['ENV']['REVISION']))