| 1 |
SHEET = Automata |
| 2 |
|
| 3 |
shapedir = $(datadir)/dia/shapes |
| 4 |
|
| 5 |
Automatadir = $(shapedir)/Automata |
| 6 |
|
| 7 |
SHAPES = \ |
| 8 |
finalstate.shape \ |
| 9 |
fstate.png \ |
| 10 |
istate.png \ |
| 11 |
sfstate.png \ |
| 12 |
sstate.png \ |
| 13 |
startfinalstate.shape \ |
| 14 |
startstate.shape \ |
| 15 |
state.shape |
| 16 |
|
| 17 |
EXTRA_DIST = $(SHAPES) |
| 18 |
|
| 19 |
Automata_DATA = $(SHAPES) |
| 20 |
|
| 21 |
Automata-zip: $(SHAPES) ../../sheets/Automata.sheet |
| 22 |
-(cd ../.. && \ |
| 23 |
mkdir -p website/Automata/images && \ |
| 24 |
zip website/Automata/Automata.zip COPYING sheets/Automata.sheet \ |
| 25 |
shapes/Automata/*.png shapes/Automata/*.shape && \ |
| 26 |
cp shapes/Automata/*.png website/Automata/images ) |
| 27 |
|
| 28 |
all: Automata-zip |
| 29 |
|
| 30 |
clean-local: |
| 31 |
-rm ../../website/$(SHEET)/$(SHEET).zip |