diff --git a/.gitignore b/.gitignore index 2a7f0338..a88ae69f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,5 +9,6 @@ MYMETA.* tags opts.coverage ack-standalone +ack-standalone.bat stderr.log stdout.log diff --git a/Makefile.PL b/Makefile.PL index ba76272a..a6654fec 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -70,7 +70,9 @@ sub MY::test { } sub MY::postamble { - my $file_next_filename = qx(perldoc -l File::Next); + # was this next line used for something??? + # my $file_next_filename = qx(perldoc -l File::Next); + my $postamble = sprintf(<<'MAKE_FRAG', $debug_mode); ACK = ack ACK_STANDALONE = ack-standalone @@ -109,7 +111,8 @@ critic: $(ACK_STANDALONE) : $(ACK) $(ALL_PM) squash Makefile $(PERL) squash %s $(ACK) File::Next $(ALL_PM) > $(ACK_STANDALONE) - $(CHMOD) 0755 $(ACK_STANDALONE) + $(FIXIN) $(ACK_STANDALONE) + -$(NOECHO) $(CHMOD) $(PERM_RWX) $(ACK_STANDALONE) $(PERL_T) -c $(ACK_STANDALONE) bininst : $(ACK)