diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-07-20 14:15:53 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-07-20 14:15:53 +0000 |
commit | 52d9fba0fa28be83571a267e30757f2699340d90 (patch) | |
tree | 1fa5ff8a5aa500f0d5f527bc98ade1e46ed4d086 /bindings/perl | |
parent | b8c756db7d86b8414d4e072930847ac0077accfc (diff) | |
download | lasso-52d9fba0fa28be83571a267e30757f2699340d90.tar.gz lasso-52d9fba0fa28be83571a267e30757f2699340d90.tar.xz lasso-52d9fba0fa28be83571a267e30757f2699340d90.zip |
[Binding perl] fix broken distclean-local target
The TOCOPY files need to be cleaned only for out of source directory
builds.
Diffstat (limited to 'bindings/perl')
-rw-r--r-- | bindings/perl/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bindings/perl/Makefile.am b/bindings/perl/Makefile.am index 9863f925..0795a05f 100644 --- a/bindings/perl/Makefile.am +++ b/bindings/perl/Makefile.am @@ -51,9 +51,10 @@ blib/arch/auto/Lasso/Lasso.so: Lasso.xs Lasso.pm Makefile.perl gobject_handling. CLEANFILES = Lasso.pm Lasso.xs Lasso.so typemap Lasso.o Lasso.bs pm_to_blib Lasso.c -DISTCLEANFILES = $(TOCOPY) distclean-local: - -@rm -rf $(TOCOPY) + -@if [ "$(srcdir)" != "$(builddir)" ]; then \ + rm -rf $(TOCOPY); \ + fi clean-local: -@if [ -f Makefile.perl ]; then make -f Makefile.perl clean; fi; rm -f Makefile.perl |