summaryrefslogtreecommitdiffstats
path: root/bindings/perl
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/perl')
-rw-r--r--bindings/perl/Makefile.am5
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