[mythtv-commits] Ticket #2024: Resolve warning from make about redefining the clean target

MythTV mythtv at cvs.mythtv.org
Tue Jul 4 19:49:41 UTC 2006


#2024: Resolve warning from make about redefining the clean target
--------------------------------+-------------------------------------------
 Reporter:  russell at digium.com  |       Owner:  ijr 
     Type:  defect              |      Status:  new 
 Priority:  minor               |   Milestone:      
Component:  mythtv              |     Version:  head
 Severity:  medium              |  
--------------------------------+-------------------------------------------
 The existing bindings/perl/perl.pro file redefines the clean target to
 ensure that on "make clean", the command "make -f Makefile.perl clean" is
 called.  This results in warnings from make like the
 following:[[BR]][[BR]]

 make[1]: Entering directory
 `/home/russell/src/mythtv/trunk/mythtv/bindings/perl'
 Makefile:132: warning: overriding commands for target `clean'
 Makefile:109: warning: ignoring old commands for target
 `clean'[[BR]][[BR]]

 The attached patch uses a little hack to accomplish the same task on "make
 clean", but in a way that generates no warnings since the clean target
 does not have to be redefined.[[BR]][[BR]]

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2024>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list