annotate tools/Makefile.pmake @ 191:18f8c3126cdb

Refine installation instructions and document event dispatching by wycc.
author Thinker K.F. Li <thinker@branda.to>
date Tue, 18 Nov 2008 13:55:09 +0800
parents 9008ac31efbd
children 586e50f82c1f
rev   line source
134
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
1 BINS= svg2code.py
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
2 M4SCRIPTS= mb_c_header.m4 mb_c_source.m4 foreach.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
3 PREFIX?= /usr/local/
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
4
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
5 all:
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
6
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
7 install:
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
8 .for i in $(BINS)
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
9 $(INSTALL) -m 755 ${i} ${PREFIX}bin/
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
10 .endfor
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
11 $(INSTALL) -d ${PREFIX}share/mb
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
12 .for i in $(M4SCRIPTS)
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
13 $(INSTALL) ${i} ${PREFIX}share/mb/
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
14 .endfor
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
15
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
16 clean:
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
17 for i in *~; do \
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
18 echo "delete $$i"; rm -f $$i; \
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
19 done