| 1 |
# Copyright 2022 Jeffrey Kegler |
| 2 |
# This file is part of Marpa::R2. Marpa::R2 is free software: you can |
| 3 |
# redistribute it and/or modify it under the terms of the GNU Lesser |
| 4 |
# General Public License as published by the Free Software Foundation, |
| 5 |
# either version 3 of the License, or (at your option) any later version. |
| 6 |
# |
| 7 |
# Marpa::R2 is distributed in the hope that it will be useful, |
| 8 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 10 |
# Lesser General Public License for more details. |
| 11 |
# |
| 12 |
# You should have received a copy of the GNU Lesser |
| 13 |
# General Public License along with Marpa::R2. If not, see |
| 14 |
# http://www.gnu.org/licenses/. |
| 15 |
|
| 16 |
dummy: |
| 17 |
|
| 18 |
doit: |
| 19 |
-test -r metag-g3.pl && mv metag-g3.pl metag-g4.pl |
| 20 |
-test -r metag-g2.pl && mv metag-g2.pl metag-g3.pl |
| 21 |
-test -r metag-g1.pl && mv metag-g1.pl metag-g2.pl |
| 22 |
-mv metag.pl metag-g1.pl |
| 23 |
perl sl_to_hash.pl < metag.bnf > metag.pl |
| 24 |
|
| 25 |
bak: |
| 26 |
for f in metag*.pl; do cp $$f $$f.bak; done |
| 27 |
|
| 28 |
diff: |
| 29 |
diff metag.pl metag-g1.pl || true |
| 30 |
|