diff --git a/bindings/perl/Makefile.am b/bindings/perl/Makefile.am index 03858759..3a996a8e 100644 --- a/bindings/perl/Makefile.am +++ b/bindings/perl/Makefile.am @@ -42,7 +42,7 @@ Makefile.perl: $(srcdir)/Makefile.PL Lasso.xs Lasso.pm done; \ chmod -R u+rwX $(TOCOPY); \ fi; - $(AM_V_SUBMAKE) $(PERL) Makefile.PL INSTALLDIRS=vendor CCFLAGS="$(LASSO_XS_CFLAGS)" INC="-I. -I$(top_srcdir) -I$(srcdir)" LIBS="`$(top_builddir)/lasso-src-config --libs`" OPTIMIZE="-g" $(AM_V_SUBMAKE_POSTFIX) + $(AM_V_SUBMAKE) $(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(DESTDIR) PREFIX=$(prefix) CCFLAGS="$(LASSO_XS_CFLAGS)" INC="-I. -I$(top_srcdir) -I$(srcdir)" LIBS="`$(top_builddir)/lasso-src-config --libs`" OPTIMIZE="-g" $(AM_V_SUBMAKE_POSTFIX) Lasso.xs Lasso.pm: lang.py typemap-in typemap-out $(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py -l perl --src-dir=$(top_srcdir)/lasso/ $(EXTRA_ARGS) @@ -59,7 +59,7 @@ clean-local: -@if [ -f Makefile.perl ]; then make -f Makefile.perl clean; fi; rm -f Makefile.perl install-exec-local: Makefile.perl - make -f Makefile.perl install DESTDIR=$(DESTDIR) PREFIX=$(prefix) + make -f Makefile.perl install uninstall-local: -@rm -rf `find $(DESTDIR)$(prefix) -name Lasso.pm -or -name Lasso.so -or -name Lasso.bs -or -name .packlist -or -name perllocal.pod`