Add missing 'Clean' targets
g0dil [Wed, 30 Jan 2008 00:26:10 +0000 (00:26 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@643 270642c3-0616-0410-b53a-bc976706d245

Examples/SConscript
HowTos/SConscript
SConstruct

index d36619f..545a382 100644 (file)
@@ -33,4 +33,7 @@ file("Mainpage.dox","w").write(yaptu.process(MAINPAGE, globals(), env.Dictionary
 
 SConscript(glob.glob("*/SConscript"))
 
+env.Clean('all','Mainpage.dox')
+env.Clean('all_docs','Mainpage.dox')
+
 SENFSCons.Doxygen(env)
index d17ac8b..004509b 100644 (file)
@@ -33,4 +33,7 @@ file("Mainpage.dox","w").write(yaptu.process(MAINPAGE, globals(), env.Dictionary
 
 SConscript(glob.glob("*/SConscript"))
 
+env.Clean('all','Mainpage.dox')
+env.Clean('all_docs','Mainpage.dox')
+
 SENFSCons.Doxygen(env)
index 7c35fcf..bc2e7a3 100644 (file)
@@ -140,7 +140,7 @@ env.Append(
          },
    LOCAL_CONFIG_FILES = [ 'Doxyfile.local', 'SConfig', 'local_config.hh' ],
    CONFIG_FILES_OPTS = configFilesOpts,
-   CLEAN_PATTERNS = [ '*.pyc', 'semantic.cache', '.sconsign', '.sconsign.dblite' ],
+   CLEAN_PATTERNS = [ '*~', '#*#', '*.pyc', 'semantic.cache', '.sconsign', '.sconsign.dblite' ],
    BUILDPACKAGE_COMMAND = "dpkg-buildpackage -us -uc -rfakeroot -I.svn $CONFIG_FILES_OPTS",
    TOP_INCLUDES = [ 'Packets', 'PPI', 'Scheduler', 'Socket', 'Utils',
                     'config.hh', 'local_config.hh' ],