Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It assumes an installed 'perl6', as opposed to the old one.
- Loading branch information
Carl Masak
committed
Feb 2, 2010
1 parent
95134d4
commit c5fd6a4
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
*.pir | ||
Makefile | ||
test_wiki.sh | ||
wiki.sh | ||
index_data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
PERL6=perl6 | ||
|
||
SOURCES=lib/November/CGI.pm lib/Text/Markup/Wiki/Minimal.pm \ | ||
lib/Text/Markup/Wiki/MediaWiki.pm lib/Digest.pm \ | ||
lib/November/Storage.pm lib/November/Storage/File.pm lib/November/Tags.pm \ | ||
lib/November/URI.pm lib/November/URI/Grammar.pm lib/Dispatcher.pm \ | ||
lib/Dispatcher/Rule.pm lib/November/Session.pm lib/November/Utils.pm \ | ||
lib/November/Config.pm lib/Test/InputOutput.pm lib/Test/CGI.pm \ | ||
lib/November/Cache.pm lib/November.pm | ||
|
||
PIRS=$(SOURCES:.pm=.pir) | ||
|
||
all: $(PIRS) | ||
|
||
%.pir: %.pm | ||
$(PERL6) --target=pir --output=$@ $< | ||
|
||
clean: | ||
rm -f $(PIRS) | ||
|
||
tests: test | ||
|
||
test: all | ||
prove -e '$(PERL6)' -r --nocolor t/ |