[Binding perl] fix broken distclean-local target
The TOCOPY files need to be cleaned only for out of source directory builds.
This commit is contained in:
parent
b8c756db7d
commit
52d9fba0fa
|
@ -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
|
CLEANFILES = Lasso.pm Lasso.xs Lasso.so typemap Lasso.o Lasso.bs pm_to_blib Lasso.c
|
||||||
|
|
||||||
DISTCLEANFILES = $(TOCOPY)
|
|
||||||
distclean-local:
|
distclean-local:
|
||||||
-@rm -rf $(TOCOPY)
|
-@if [ "$(srcdir)" != "$(builddir)" ]; then \
|
||||||
|
rm -rf $(TOCOPY); \
|
||||||
|
fi
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
-@if [ -f Makefile.perl ]; then make -f Makefile.perl clean; fi; rm -f Makefile.perl
|
-@if [ -f Makefile.perl ]; then make -f Makefile.perl clean; fi; rm -f Makefile.perl
|
||||||
|
|
Loading…
Reference in New Issue