Permalink
Browse files

Call FIXIN on ack-standalone

  On Windows, this will create ack-standalone.bat
  On Unix, it does nothing because ack-standalone has
    "#!/usr/bin/env perl" instead of "#!/usr/bin/perl"
  • Loading branch information...
madsen committed Jun 29, 2012
1 parent 59b9284 commit f9dd0e9b0833162369c40713fa721ca2ad518cb8
Showing with 6 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +5 −2 Makefile.PL
View
@@ -9,5 +9,6 @@ MYMETA.*
tags tags
opts.coverage opts.coverage
ack-standalone ack-standalone
ack-standalone.bat
stderr.log stderr.log
stdout.log stdout.log
View
@@ -70,7 +70,9 @@ sub MY::test {
} }
sub MY::postamble { 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); my $postamble = sprintf(<<'MAKE_FRAG', $debug_mode);
ACK = ack ACK = ack
ACK_STANDALONE = ack-standalone ACK_STANDALONE = ack-standalone
@@ -109,7 +111,8 @@ critic:
$(ACK_STANDALONE) : $(ACK) $(ALL_PM) squash Makefile $(ACK_STANDALONE) : $(ACK) $(ALL_PM) squash Makefile
$(PERL) squash %s $(ACK) File::Next $(ALL_PM) > $(ACK_STANDALONE) $(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) $(PERL_T) -c $(ACK_STANDALONE)
bininst : $(ACK) bininst : $(ACK)

0 comments on commit f9dd0e9

Please sign in to comment.