Skip to content

Commit

Permalink
ack-standalone no longer exists
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed Oct 19, 2008
1 parent 6fd646d commit 5061f5a
Show file tree
Hide file tree
Showing 15 changed files with 2,515 additions and 2,504 deletions.
2 changes: 2 additions & 0 deletions Changes
Expand Up @@ -4,6 +4,8 @@ Changelog for ack
IN PROCESS
Big plugin infrastructure. Woot!

ack-standalone no longer exists. ack is now built from ack-base.

=for TODO

Handle tarballs: .rb inside .tar inside .gz
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST
Expand Up @@ -9,9 +9,9 @@ Makefile.PL
META.yml
README
ack
ack-base
ack-help.txt
ack-help-types.txt
ack-standalone
capture-stderr
squash
TODO
Expand Down
29 changes: 14 additions & 15 deletions Makefile.PL
Expand Up @@ -54,7 +54,7 @@ package MY;
sub MY::top_targets {
my $str = shift->SUPER::top_targets(@_);

$str =~ s/^pure_all.+/$& ack-standalone ack-help.txt ack-help-types.txt/m;
$str =~ s/^pure_all.+/$& ack ack-help.txt ack-help-types.txt/m;

return $str;
}
Expand All @@ -63,12 +63,12 @@ sub MY::postamble {
my $file_next_filename = qx(perldoc -l File::Next);
my $postamble = <<'MAKE_FRAG';
ACK = ack
BASE = ack-base
ACK_PM = Ack.pm
BASIC_PM = Basic.pm
REPOSITORY_PM = Repository.pm
RESOURCE_PM = Resource.pm
ALL_PM = $(ACK_PM) $(REPOSITORY_PM) $(RESOURCE_PM) $(BASIC_PM)
STANDALONE = ack-standalone
ACK_HELP = ack-help.txt
ACK_HELP_TYPES = ack-help-types.txt
PERL_T = $(PERL) -T
Expand All @@ -80,17 +80,16 @@ tags:
--exclude=blib \
--exclude=.svn \
--exclude='*~' \
--exclude=ack-standalone \
--exclude=$(ACK) \
--languages=Perl --langmap=Perl:+.t \
critic:
perlcritic -1 -q -profile perlcriticrc ack $(ALL_PM) t/*.t
perlcritic -1 -q -profile perlcriticrc $(BASE) $(ALL_PM) t/*.t
tidy:
perltidy -b -pro=perltidyrc ack $(ALL_PM)
perltidy -b -pro=perltidyrc $(BASE) $(ALL_PM)
#PROF_ARGS = -Mblib ack-standalone --noenv --color --group -w foo ~/parrot
PROF_ARGS = -Mblib ./ack --noenv --color --group -w foo ~/parrot
PROF_ARGS = -Mblib ./$(ACK) --noenv --color --group -w foo ~/parrot
timed: all
$(PERL) $(PROF_ARGS) >> /dev/null 2>&1
Expand Down Expand Up @@ -123,16 +122,16 @@ nytprof: all
$(PERL) -d:NYTProf $(PROF_ARGS) >> /dev/null 2>&1
nytprofhtml
$(STANDALONE) : $(ACK) $(ALL_PM) squash Makefile
$(PERL) squash ack File::Next $(ALL_PM) > $(STANDALONE)
$(CHMOD) 0755 $(STANDALONE)
$(PERL_T) -c $(STANDALONE)
$(ACK) : $(BASE) $(ALL_PM) squash Makefile
$(PERL) squash ack-base File::Next $(ALL_PM) > $(ACK)
$(CHMOD) 0755 $(ACK)
$(PERL_T) -c $(ACK)
$(ACK_HELP) : $(STANDALONE)
$(PERL_T) $(STANDALONE) --noenv --help > $(ACK_HELP) || perl -e0
$(ACK_HELP) : $(ACK)
$(PERL_T) $(ACK) --noenv --help > $(ACK_HELP) || perl -e0
$(ACK_HELP_TYPES) : $(STANDALONE)
$(PERL_T) $(STANDALONE) --noenv --help=types > $(ACK_HELP_TYPES) || perl -e0
$(ACK_HELP_TYPES) : $(ACK)
$(PERL_T) $(ACK) --noenv --help=types > $(ACK_HELP_TYPES) || perl -e0
MAKE_FRAG

Expand Down

0 comments on commit 5061f5a

Please sign in to comment.