Commit 56b7d986 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Use Perl specified by --with-perl configure option on "make tidyall"

parent 2afe0d4c
...@@ -201,5 +201,10 @@ uninstall-hook: ...@@ -201,5 +201,10 @@ uninstall-hook:
dist-hook: dist-hook:
$(MAKE) check $(MAKE) check
# tidyall --conf-file doc/dot.tidyallrc --root-dir . --recursive src t xt
tidyall: tidyall:
tidyall --conf-file doc/dot.tidyallrc --root-dir . -r src t xt @ ( echo 'exit 1 if grep { $$_->error }'; \
echo 'Code::TidyAll->new_from_conf_file('; \
echo ' "doc/dot.tidyallrc", root_dir => ".", recursive => 1'; \
echo ')->process_paths(qw(src xt t))' \
) | $(PERL) -MCode::TidyAll
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment