--- Makefile.am.orig 2016-10-25 03:16:54.000000000 -0700 +++ Makefile.am 2016-10-25 03:21:48.000000000 -0700 @@ -598,12 +598,12 @@ d=`sed -n 's,/,-,g;s,.*\$$[D]ate: \(..........\).*,\1,p' $<`; \ pod2man --utf8 $< \ | sed 's/^\.TH .*/.TH INKSCAPE 1 "'"$$d"'" "Inkscape-$(VERSION)" "Inkscape"/' \ - | perl -pe 'if (/^\[\% .*INCLUDE.*AUTHORS.* \%\]/) { open(FOO, "$(srcdir)/AUTHORS");$$_ = join(",\n", map { chomp; $$_ } <FOO>) . "\n"; }' \ - | perl $(srcdir)/fix-roff-punct \ + | @@MP_PERL@@ -pe 'if (/^\[\% .*INCLUDE.*AUTHORS.* \%\]/) { open(FOO, "$(srcdir)/AUTHORS");$$_ = join(",\n", map { chomp; $$_ } <FOO>) . "\n"; }' \ + | @@MP_PERL@@ $(srcdir)/fix-roff-punct \ > tmp.$$$$ \ && mv -f tmp.$$$$ $@ # ut8-to-roff removed (groff now supports utf8). -# | perl -CI $(srcdir)/utf8-to-roff \ +# | @@MP_PERL@@ -CI $(srcdir)/utf8-to-roff \ # man 7 groff_char for further remarks on charset encoding for man pages. po/inkscape.pot: @@ -630,21 +630,21 @@ #.PHONY: warn_markup noinst_DATA = warn_markup warn_markup: - @if perl $(srcdir)/po/check-markup $(srcdir)/po/*.po; [ $$? = 1 ]; then \ + @if @@MP_PERL@@ $(srcdir)/po/check-markup $(srcdir)/po/*.po; [ $$? = 1 ]; then \ echo "WARNING: Bad markup found in translations. Please consider fixing the above problems." >&2; \ fi .PHONY: check_markup check_DATA = check_markup check_markup: - perl $(srcdir)/po/check-markup $(srcdir)/po/*.po || [ $$? = 127 ] + @@MP_PERL@@ $(srcdir)/po/check-markup $(srcdir)/po/*.po || [ $$? = 127 ] # # `make check' probably shouldn't require perl to be installed, hence ignoring 127. distcheck-hook: - perl $(srcdir)/po/check-markup $(srcdir)/po/*.po + @@MP_PERL@@ $(srcdir)/po/check-markup $(srcdir)/po/*.po test-check-markup: - if perl -e 42; then \ - perl $(srcdir)/po/check-markup $(srcdir)/po/bad.po.test 2>&1 \ + if @@MP_PERL@@ -e 42; then \ + @@MP_PERL@@ $(srcdir)/po/check-markup $(srcdir)/po/bad.po.test 2>&1 \ | diff $(srcdir)/po/bad.po.test.exp -; \ fi