-# Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
+# Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
# dedicated to making software imaging solutions freely available.
#
# You may not use this file except in compliance with the License. You may
if WITH_PERL_DYNAMIC
+PERLMAGICK_CHECKSCRIPTS =
+
$(PERLMAKEFILE): perl-sources $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(PERLMAKEMAKER)
cd $(PERLMAGICK) && @PERL@ Makefile.PL $(PERL_MAKE_OPTIONS)
install-exec-perl: $(PERLMAKEFILE)
( cd $(PERLMAGICK) && $(MAKE) CC='@CC@' && \
- $(MAKE) CC='@CC@' install && \
- $(MAKE) clean && rm -f Makefile.old )
+ $(MAKE) CC='@CC@' install )
all-perl: perl-sources
echo "Uninstall not supported for PerlMagick"
check-perl: $(PERLMAKEFILE)
- cd $(PERLMAGICK) && $(MAKE) CC='@CC@' test
+ cd $(PERLMAGICK) && $(abs_top_builddir)/magick.sh $(MAKE) CC='@CC@' test
perl-build: $(PERLMAKEFILE)
( cd $(PERLMAGICK) && $(MAKE) CC='@CC@' )
rm -f '$(DESTDIR)$(BIN_DIR)/$(PERLSTATICNAME)'
check-perl: $(PERLMAGICK)/$(PERLSTATICNAME)
- cd $(PERLMAGICK) && $(MAKE) -f Makefile.aperl CC='@CC@' test
+ cd $(PERLMAGICK) && $(abs_top_builddir)/magick.sh $(MAKE) -f Makefile.aperl CC='@CC@' test
perl-build: $(PERLMAGICK)/$(PERLSTATICNAME)