Opened 18 years ago
Closed 18 years ago
#2025 closed patch (fixed)
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.
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:
QMAKE_CLEAN += Makefile.perl
IRC: russellb
Attachments (2)
Change History (4)
Changed 18 years ago by
Attachment: | perl_clean.patch added |
---|
Changed 18 years ago by
Attachment: | perl_clean_rev2.patch added |
---|
comment:1 Changed 18 years ago by
Type: | defect → patch |
---|
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [10541]) Fix clean target redefinition warning.
Closes #2025.