All pastes #78984 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-07-04 19:39 UTC
rendered paste body
Index: bindings/perl/perl.pro
===================================================================
--- bindings/perl/perl.pro      (revision 10384)
+++ bindings/perl/perl.pro      (working copy)
@@ -1,3 +1,4 @@
+QMAKE_CLEAN += filethatdoesntexist || [ -f Makefile.perl ] && make -f Makefile.perl clean
 QMAKE_CLEAN += Makefile.perl

 mythperlbindings.target = Makefile.perl
@@ -9,14 +10,8 @@
 mythperbindingsbuild.commands = @-make -f Makefile.perl

 phony.target = .PHONY
-phony.depends = perl_build perl_clean
+phony.depends = perl_build

-perl_clean.target = perl_clean
-perl_clean.commands = @-make -f Makefile.perl clean
-
-qmake_clean.target = clean
-qmake_clean.depends = perl_clean
-
 perl_install.target = install
 perl_install.depends = all
 perl_install.commands = make -f Makefile.perl pure_install PERL_INSTALL_ROOT="$(INSTALL_ROOT)"