| 1 |
SHEET = digital |
| 2 |
|
| 3 |
shapedir = $(datadir)/dia/shapes |
| 4 |
|
| 5 |
digitaldir = $(shapedir)/digital |
| 6 |
|
| 7 |
SHAPES = \ |
| 8 |
add_h.png \ |
| 9 |
add_h.shape \ |
| 10 |
add_v.png \ |
| 11 |
add_v.shape \ |
| 12 |
and_h.png \ |
| 13 |
and_h.shape \ |
| 14 |
and_v.png \ |
| 15 |
and_v.shape \ |
| 16 |
buff_h.png \ |
| 17 |
buff_h.shape \ |
| 18 |
buff_v.png \ |
| 19 |
buff_v.shape \ |
| 20 |
conn.png \ |
| 21 |
conn.shape \ |
| 22 |
inv_h.png \ |
| 23 |
inv_h.shape \ |
| 24 |
inv_v.png \ |
| 25 |
inv_v.shape \ |
| 26 |
mux_h.png \ |
| 27 |
mux_h.shape \ |
| 28 |
mux_v.png \ |
| 29 |
mux_v.shape \ |
| 30 |
nand_h.png \ |
| 31 |
nand_h.shape \ |
| 32 |
nand_v.png \ |
| 33 |
nand_v.shape \ |
| 34 |
nor_h.png \ |
| 35 |
nor_h.shape \ |
| 36 |
nor_v.png \ |
| 37 |
nor_v.shape \ |
| 38 |
or_h.png \ |
| 39 |
or_h.shape \ |
| 40 |
or_v.png \ |
| 41 |
or_v.shape \ |
| 42 |
reg_h.png \ |
| 43 |
reg_h.shape \ |
| 44 |
reg_v.png \ |
| 45 |
reg_v.shape \ |
| 46 |
xnor_h.png \ |
| 47 |
xnor_h.shape \ |
| 48 |
xnor_v.png \ |
| 49 |
xnor_v.shape \ |
| 50 |
xor_h.png \ |
| 51 |
xor_h.shape \ |
| 52 |
xor_v.png \ |
| 53 |
xor_v.shape |
| 54 |
|
| 55 |
EXTRA_DIST = $(SHAPES) |
| 56 |
|
| 57 |
digital_DATA = $(SHAPES) |
| 58 |
|
| 59 |
digital-zip: $(SHAPES) ../../sheets/digital.sheet |
| 60 |
-(cd ../.. && \ |
| 61 |
mkdir -p website/digital/images && \ |
| 62 |
zip website/digital/digital.zip COPYING sheets/digital.sheet \ |
| 63 |
shapes/digital/*.png shapes/digital/*.shape && \ |
| 64 |
cp shapes/digital/*.png website/digital/images ) |
| 65 |
|
| 66 |
all: digital-zip |
| 67 |
|
| 68 |
clean-local: |
| 69 |
-rm ../../website/$(SHEET)/$(SHEET).zip |