Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
11452b656c

+ 1 - 0
dtool/pptempl/Template.gmsvc.pp

@@ -207,6 +207,7 @@ clean :
 #if $[st_sources]
 #if $[st_sources]
 	rm -rf $[st_dir]
 	rm -rf $[st_dir]
 #endif
 #endif
+	rm -f *.pyc *.pyo  // Also scrub out old generated Python code.
 
 
 // 'cleanall' is not much more thorough than 'clean': At the moment,
 // 'cleanall' is not much more thorough than 'clean': At the moment,
 // it also cleans up the bison and flex output, as well as the
 // it also cleans up the bison and flex output, as well as the

+ 1 - 0
dtool/pptempl/Template.msvc.pp

@@ -204,6 +204,7 @@ clean :
 #if $[st_sources]
 #if $[st_sources]
 	-rmdir /s /q $[st_dir]
 	-rmdir /s /q $[st_dir]
 #endif
 #endif
+	-del /f *.pyc *.pyo  // Also scrub out old generated Python code.
 
 
 // 'cleanall' is not much more thorough than 'clean': At the moment,
 // 'cleanall' is not much more thorough than 'clean': At the moment,
 // it also cleans up the bison and flex output, as well as the
 // it also cleans up the bison and flex output, as well as the

+ 1 - 0
dtool/pptempl/Template.unix.pp

@@ -166,6 +166,7 @@ clean :
 #if $[st_sources]
 #if $[st_sources]
 	rm -rf $[st_dir]
 	rm -rf $[st_dir]
 #endif
 #endif
+	rm -f *.pyc *.pyo  // Also scrub out old generated Python code.
 
 
 // 'cleanall' is not much more thorough than 'clean': At the moment,
 // 'cleanall' is not much more thorough than 'clean': At the moment,
 // it also cleans up the bison and flex output, as well as the
 // it also cleans up the bison and flex output, as well as the