annotate tools/Makefile.pmake @ 339:63aaf96209cd

* Move location of files so that we can produce XPI file from them. * Add the produce to compile the inkscape for madbutterfly * Add makefile to produce inkscape and madbuilder.xpi
author wycc
date Sun, 08 Mar 2009 10:05:22 +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