source: Makefile @ c2fddd6010edab88fb4a8ceab1684e5e7f6195b7

Revision c2fddd6010edab88fb4a8ceab1684e5e7f6195b7, 650 bytes checked in by Stanislaw Klekot <dozzie@…>, 7 years ago (diff)

{#32} pfJSON included in project.

  • Property mode set to 100644
Line 
1#!/usr/bin/make
2
3.PHONY: parser plparser pfjson
4
5all: plparser parser pfjson
6
7parser: dashwiki/markup/_actual_parser.py
8
9plparser: dashwiki/markup/plparser/pllib/DashWiki/Wiki/Parser.pm
10
11pfjson: dashwiki/pfjson/_actual_parser.py
12
13dashwiki/pfjson/_actual_parser.py: grammar/pfjson.wi
14        wisent --output $@ $^
15
16dashwiki/markup/_actual_parser.py: grammar/dashmarkup.wi
17        wisent --output $@ $^
18
19# NOTE: Perl parser for pfJSON not included
20
21dashwiki/markup/plparser/pllib/DashWiki/Wiki/Parser.pm: grammar/dashmarkup.eyp
22        eyapp -l -v -m DashWiki::Wiki::Parser -o $@ $<
23
24grammar/%.wi: grammar/%.eyp bin/eyapp2wisent
25        $(filter bin/%,$^) $(filter %.eyp,$^) > $@
Note: See TracBrowser for help on using the repository browser.