source: Makefile @ ae98ef0748e4684858c73fd0bdca8d9b52c8c6a2

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

Renamed grammar definition files to grammar/dashmarkup.*.

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