[mythtv-commits] Ticket #2025: Resolve warning from make about redefining the clean target
MythTV
mythtv at cvs.mythtv.org
Tue Jul 4 19:51:17 UTC 2006
#2025: 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]]
If you want Makefile.perl to be deleted on "make clean" as well, the
following line should be added after the QMAKE_CLEAN line that I have
added in this patch:[[BR]][[BR]]
QMAKE_CLEAN += Makefile.perl[[BR]][[BR]]
IRC: russellb
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2025>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list