Patch for proper make clean

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

Patch for proper make clean

Postby joepal » Mon Feb 02, 2009 7:22 pm

"make clean" doesn't properly clean out stale *.pyc files on linux. Context diff for fixing this:

Code: Select all
*** Makefile.Linux      2008-12-14 18:28:43.000000000 +0100
--- Makefile    2009-01-29 16:36:50.000000000 +0100
***************
*** 38,43 ****
--- 38,44 ----
  # ---------------------------------------------------------------------
  clean:
        $(RM) $(OBJS) $(DEPS) *.obj *~ *.bak core *%% *~
+       find . -name "*.pyc" -exec "rm" "-f" {} ";"
 
  # ---------------------------------------------------------------------
  # Include dependencies if exists
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 3968
Joined: Wed Jun 04, 2008 11:20 am

Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest