Opened 19 years ago
Closed 19 years ago
#2024 closed defect (duplicate)
Resolve warning from make about redefining the clean target
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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:
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'
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.
accidently submitted this twice ...